Fix these so that direct comparisons against them actually *are* faster
authorDan Winship <danw@src.gnome.org>
Sat, 2 Feb 2008 22:14:23 +0000 (22:14 +0000)
committerDan Winship <danw@src.gnome.org>
Sat, 2 Feb 2008 22:14:23 +0000 (22:14 +0000)
commit606a77ca29405b42e580051ea74fe6f75d311179
treeaad30c8685d888f8e52496e138c5641aac40138d
parent87dff5a5be45fd038f2ec4e0b19599ef734ef5e2
Fix these so that direct comparisons against them actually *are* faster

* libsoup/soup-method.h (SOUP_METHOD_GET, etc): Fix these so that
direct comparisons against them actually *are* faster than doing
strcmp, as the docs claim.

* libsoup/soup-uri.h (SOUP_URI_SCHEME_HTTP,
SOUP_URI_SCHEME_HTTPS): likewise

svn path=/trunk/; revision=1068
ChangeLog
libsoup/Makefile.am
libsoup/soup-method.c [new file with mode: 0644]
libsoup/soup-method.h
libsoup/soup-uri.c
libsoup/soup-uri.h