1. Top

This is a small wrapper around the cmp msgpack interface.

This generates a C and Header file called moncmp.cand moncmp.h, as outlined below.

<<moncmp.h>>=
#ifndef MONCMP_H
#define MONCMP_H
<<moncmp_typedefs>>
<<moncmp_structs>>
<<moncmp_function_declarations>>
#endif
<<moncmp.c>>=
#include <stdint.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include "cmp/cmp.h"
#include "moncmp.h"
#define MONOLITH_ANSI
#include "janet/janet.h"
<<moncmp_callbacks>>
<<moncmp_functions>>



prev | home | next