Sha256: 42be9e273f2548ea3995dc7de15576e9fd9145e822f74b89bfbdb8799d8e3ee7
Contents?: true
Size: 762 Bytes
Versions: 2
Compression:
Stored size: 762 Bytes
Contents
#ifndef MOSQUITTO_EXT_H #define MOSQUITTO_EXT_H #include <mosquitto.h> #include <pthread.h> #include "ruby.h" #if defined(__GNUC__) && (__GNUC__ >= 3) #define MOSQ_UNUSED __attribute__ ((unused)) #define MOSQ_NOINLINE __attribute__ ((noinline)) #else #define MOSQ_UNUSED #define MOSQ_NOINLINE #endif #include "mosquitto_prelude.h" #include <ruby/encoding.h> #include <ruby/io.h> extern rb_encoding *binary_encoding; #define MosquittoEncode(str) rb_enc_associate(str, binary_encoding) #define MosquittoError(desc) rb_raise(rb_eMosquittoError, desc); extern VALUE rb_mMosquitto; extern VALUE rb_eMosquittoError; extern VALUE rb_cMosquittoClient; extern VALUE rb_cMosquittoMessage; extern VALUE intern_call; #include "client.h" #include "message.h" #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mosquitto-0.3 | ext/mosquitto/mosquitto_ext.h |
mosquitto-0.2 | ext/mosquitto/mosquitto_ext.h |