Sha256: 2cce5c7be99c6fc9c9755db46adbc69e036e1bf58354c0fe49e75d426a77f8cd

Contents?: true

Size: 462 Bytes

Versions: 16

Compression:

Stored size: 462 Bytes

Contents

#ifndef RBCZMQ_RUBINIUS_H
#define RBCZMQ_RUBINIUS_H

#define RSTRING_NOT_MODIFIED

#ifdef HAVE_RUBY_ENCODING_H
#include <ruby/st.h>
#include <ruby/encoding.h>
#include <ruby/io.h>
extern rb_encoding *binary_encoding;
#define ZmqEncode(str) rb_enc_associate(str, binary_encoding)
#else
#include "st.h"
#define ZmqEncode(str) str
#endif

#define TRAP_BEG
#define TRAP_END

#define ZMQ_DEFAULT_SOCKET_TIMEOUT Qnil

#define THREAD_PASS rb_thread_schedule();

#endif

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rbczmq-1.6 ext/rbczmq/rubinius.h
rbczmq-1.5 ext/rbczmq/rubinius.h
rbczmq-1.4 ext/rbczmq/rubinius.h
rbczmq-1.3 ext/rbczmq/rubinius.h
rbczmq-1.2 ext/rbczmq/rubinius.h
rbczmq-1.1 ext/rbczmq/rubinius.h
rbczmq-1.0 ext/rbczmq/rubinius.h
rbczmq-0.9 ext/rbczmq/rubinius.h
rbczmq-0.8 ext/rbczmq/rubinius.h
rbczmq-0.7 ext/rbczmq/rubinius.h
rbczmq-0.6 ext/rbczmq/rubinius.h
rbczmq-0.5 ext/rbczmq/rubinius.h
rbczmq-0.4 ext/rbczmq/rubinius.h
rbczmq-0.3 ext/rbczmq/rubinius.h
rbczmq-0.2 ext/rbczmq/rubinius.h
rbczmq-0.1 ext/rbczmq/rubinius.h