diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-08-02 16:16:28 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-08-09 01:29:40 -0700 |
commit | 60b4397f51894d5e679a6eed73a8cde957f03c4a (patch) | |
tree | 9da48622b713dd0f3913f83a83a4c0e420f936ff /ext/unicorn_http/c_util.h | |
parent | 074dc90aaefc17dd5a60c3f67187305924849b05 (diff) | |
download | unicorn-60b4397f51894d5e679a6eed73a8cde957f03c4a.tar.gz |
The macro version lets us painlessly compare Ruby strings against constant C strings. It wraps a C version of the function which is necessary to avoid double evaluation while preventing the user from having to type sizeof or strlen.
Diffstat (limited to 'ext/unicorn_http/c_util.h')
0 files changed, 0 insertions, 0 deletions