diff options
Diffstat (limited to 'Build/source/utils/asymptote/vm.h')
-rw-r--r-- | Build/source/utils/asymptote/vm.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/vm.h b/Build/source/utils/asymptote/vm.h new file mode 100644 index 00000000000..ba666dc64d5 --- /dev/null +++ b/Build/source/utils/asymptote/vm.h @@ -0,0 +1,26 @@ +/***** + * vm.h + * Tom Prince 2005/06/17 + * + * Interface to the virtual machine. + *****/ + +#ifndef VM_H +#define VM_H + +#include "errormsg.h" + +namespace vm { + +class lambda; class stack; +typedef void (*bltin)(stack *s); + +void run(lambda *l); +position getPos(); +void errornothrow(const char* message); +void error(const char* message); +void error(const ostringstream& message); + +} // namespace vm + +#endif // VM_H |