MBED port of https://github.com/ys1382/filagree . The only change is adding #define MBED
sys.h@0:1a89e28dea91, 2012-05-30 (annotated)
- Committer:
- yusufx
- Date:
- Wed May 30 21:13:01 2012 +0000
- Revision:
- 0:1a89e28dea91
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yusufx | 0:1a89e28dea91 | 1 | #ifndef SYS_H |
yusufx | 0:1a89e28dea91 | 2 | #define SYS_H |
yusufx | 0:1a89e28dea91 | 3 | |
yusufx | 0:1a89e28dea91 | 4 | #include "vm.h" |
yusufx | 0:1a89e28dea91 | 5 | |
yusufx | 0:1a89e28dea91 | 6 | void print(); |
yusufx | 0:1a89e28dea91 | 7 | void save(); |
yusufx | 0:1a89e28dea91 | 8 | void load(); |
yusufx | 0:1a89e28dea91 | 9 | void rm(); |
yusufx | 0:1a89e28dea91 | 10 | |
yusufx | 0:1a89e28dea91 | 11 | struct string_func |
yusufx | 0:1a89e28dea91 | 12 | { |
yusufx | 0:1a89e28dea91 | 13 | const char* name; |
yusufx | 0:1a89e28dea91 | 14 | bridge* func; |
yusufx | 0:1a89e28dea91 | 15 | }; |
yusufx | 0:1a89e28dea91 | 16 | |
yusufx | 0:1a89e28dea91 | 17 | struct variable *func_map(struct Context *context); |
yusufx | 0:1a89e28dea91 | 18 | |
yusufx | 0:1a89e28dea91 | 19 | struct variable *builtin_method(struct Context *context, |
yusufx | 0:1a89e28dea91 | 20 | struct variable *indexable, |
yusufx | 0:1a89e28dea91 | 21 | const struct variable *index); |
yusufx | 0:1a89e28dea91 | 22 | |
yusufx | 0:1a89e28dea91 | 23 | #endif // SYS_H |