Sha256: 45fbd880229e520bda8a2ed32f7871e37b6ea197297e1cf9721e2577b5ee94a1
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
#ifndef MOSQUITTO_MESSAGE_H #define MOSQUITTO_MESSAGE_H typedef struct { struct mosquitto_message *msg; } mosquitto_message_wrapper; #define MosquittoGetMessage(obj) \ mosquitto_message_wrapper *message = NULL; \ Data_Get_Struct(obj, mosquitto_message_wrapper, message); \ if (!message) rb_raise(rb_eTypeError, "uninitialized Mosquitto message!"); VALUE rb_mosquitto_message_alloc(const struct mosquitto_message *msg); void _init_rb_mosquitto_message(); #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mosquitto-0.3 | ext/mosquitto/message.h |
mosquitto-0.2 | ext/mosquitto/message.h |