From 00e2c70b01f28c9b00ec3d5096895a387676774d Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 26 Aug 2016 00:46:55 +0200 Subject: Linking C functions --- interpreter/code.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 interpreter/code.h (limited to 'interpreter/code.h') diff --git a/interpreter/code.h b/interpreter/code.h new file mode 100644 index 0000000..4c850a2 --- /dev/null +++ b/interpreter/code.h @@ -0,0 +1,12 @@ +#ifndef _H_CODE +#define _H_CODE + +#include "syntax.h" + +typedef expression* (Code_0) (); +typedef expression* (Code_1) (expression*); +typedef expression* (Code_2) (expression*, expression*); + +unsigned char code_find(char* name, void** function); + +#endif -- cgit v1.2.3