Sha256: 8a3710cd3dc655ba59ed5dc686ba4324aebe5fa83b6130dada3693316ba1e7da

Contents?: true

Size: 428 Bytes

Versions: 5

Compression:

Stored size: 428 Bytes

Contents

#ifndef EVD_UTIL_H
#define EVD_UTIL_H

#include <stdio.h>
#include <errno.h>
#include <ruby.h>
#include <rubyio.h>
#include "ev_dispatch.h"
#include "ev_http.h"
#include "rhttp.h"


/* ruby 1.9 compat */
#ifndef RSTRING_PTR
  #define RSTRING_PTR(str) RSTRING(str)->ptr
#endif

#ifndef RSTRING_LEN
  #define RSTRING_LEN(str) RSTRING(str)->len
#endif

#ifndef RB_METHOD
  #define RB_METHOD(f) ((VALUE (*)(...))(f))
#endif

#endif

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
evdispatch-0.3.0 ext/revdispatch/util.h
evdispatch-0.3.1 ext/revdispatch/util.h
evdispatch-0.4.1 ext/revdispatch/util.h
evdispatch-0.4.2 ext/revdispatch/util.h
evdispatch-0.4.0 ext/revdispatch/util.h