00001
00013 #ifndef C_CONS_H
00014 #define C_CONS_H
00015
00016 #include <iostream>
00017 #include <string>
00018
00019 typedef void CCell;
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023
00028 CCell* c_make_int(const int i);
00029
00034 CCell* c_make_double(const double d);
00035
00040 CCell* c_make_symbol(const char* const s);
00041
00047 CCell* c_cons(CCell* const my_car, CCell* const my_cdr);
00048
00053 void c_delete(CCell* tcell);
00054
00055 #ifdef __cplusplus
00056 }
00057 #endif
00058
00059
00060 #endif // C_CONS_H