~ubuntu-branches/debian/sid/unicorn/sid

« back to all changes in this revision

Viewing changes to ext/unicorn_http/ext_help.h

  • Committer: Package Import Robot
  • Author(s): Jérémy Bobbio, Hleb Valoshka, Jérémy Bobbio
  • Date: 2013-05-07 11:02:06 UTC
  • mfrom: (7.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130507110206-urgp5n2mwmkcsu5k
Tags: 4.6.2-2
[ Hleb Valoshka ]
* Change the way tests are run during package build.
* Bump Standards-Version to 3.9.4.
* Remove DM-Upload-Allowed.

[ Jérémy Bobbio ]
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
#  endif
53
53
#endif /* ! defined(NUM2SIZET) */
54
54
 
55
 
#ifndef HAVE_RB_STR_MODIFY
56
 
#  define rb_str_modify(x) do {} while (0)
57
 
#endif /* ! defined(HAVE_RB_STR_MODIFY) */
58
 
 
59
55
static inline int str_cstr_eq(VALUE val, const char *ptr, long len)
60
56
{
61
57
  return (RSTRING_LEN(val) == len && !memcmp(ptr, RSTRING_PTR(val), len));