added experimental c-wrapper code

This commit is contained in:
2013-12-19 14:36:14 +00:00
parent 76807e7939
commit 29b7183205
2 changed files with 86 additions and 12 deletions

22
include/h2scm.h Normal file
View File

@ -0,0 +1,22 @@
#ifndef _H2SCM_H_
#define _H2SCM_H_
typedef struct h2scm_t h2scm_t;
typedef struct h2scm_obj_t h2scm_obj_t;
#ifdef __cplusplus
extern "C" {
#endif
h2scm_t* h2scm_open (void);
void h2scm_close (h2scm_t* scm);
int h2scm_evaluate (h2scm_t* scm, h2scm_obj_t* src);
#ifdef __cplusplus
}
#endif
#endif