Files
mruby-mruby/include/mruby/cdump.h
T
Yukihiro Matsumoto 7d02df3016 NaN boxing
2012-08-14 13:16:34 +09:00

28 lines
494 B
C

/*
** mruby/cdump.h - mruby binary dumper (C source format)
**
** See Copyright Notice in mruby.h
*/
#ifndef MRUBY_CDUMP_H
#define MRUBY_CDUMP_H
#if defined(__cplusplus)
extern "C" {
#endif
#include "mruby.h"
#include <stdio.h>
int mrb_cdump_irep(mrb_state *mrb, int n, FILE *f,const char *initname);
/* error code */
#define MRB_CDUMP_OK 0
#define MRB_CDUMP_GENERAL_FAILURE -1
#if defined(__cplusplus)
} /* extern "C" { */
#endif
#endif /* MRUBY_CDUMP_H */