MessagePack for C
Classes | Macros | Functions
test_def.h File Reference
#include <msgpack/predef.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  predef_info
 

Macros

#define MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS
 
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)   void predef_entry_##x() { add_predef_entry(#x, s, x) }
 
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)   predef_entry_##x()
 

Functions

void * add_predef_entry (const char *name, const char *description, unsigned value) void create_predef_entries()
 

Macro Definition Documentation

#define MSGPACK_PREDEF_DECLARE_TEST (   x,
 
)    void predef_entry_##x() { add_predef_entry(#x, s, x) }
#define MSGPACK_PREDEF_DECLARE_TEST (   x,
 
)    predef_entry_##x()
#define MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS

Function Documentation

void* add_predef_entry ( const char *  name,
const char *  description,
unsigned  value 
)