mbed I/F binding for mruby
Dependents: mruby_mbed_web mirb_mbed
mbed-mruby
How to use
Class
include/mruby/gc.h@1:8ccd1d494a4b, 2015-04-13 (annotated)
- Committer:
- mzta
- Date:
- Mon Apr 13 05:20:15 2015 +0000
- Revision:
- 1:8ccd1d494a4b
- Parent:
- 0:158c61bb030f
- code refactoring.; - add SPI, SPISlave, I2C class to mruby-mbed (Incomplete).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mzta | 0:158c61bb030f | 1 | /* |
mzta | 0:158c61bb030f | 2 | ** mruby/gc.h - garbage collector for mruby |
mzta | 0:158c61bb030f | 3 | ** |
mzta | 0:158c61bb030f | 4 | ** See Copyright Notice in mruby.h |
mzta | 0:158c61bb030f | 5 | */ |
mzta | 0:158c61bb030f | 6 | |
mzta | 0:158c61bb030f | 7 | #ifndef MRUBY_GC_H |
mzta | 0:158c61bb030f | 8 | #define MRUBY_GC_H |
mzta | 0:158c61bb030f | 9 | |
mzta | 0:158c61bb030f | 10 | #if defined(__cplusplus) |
mzta | 0:158c61bb030f | 11 | extern "C" { |
mzta | 0:158c61bb030f | 12 | #endif |
mzta | 0:158c61bb030f | 13 | |
mzta | 0:158c61bb030f | 14 | typedef void (mrb_each_object_callback)(mrb_state *mrb, struct RBasic *obj, void *data); |
mzta | 0:158c61bb030f | 15 | void mrb_objspace_each_objects(mrb_state *mrb, mrb_each_object_callback *callback, void *data); |
mzta | 0:158c61bb030f | 16 | MRB_API void mrb_free_context(mrb_state *mrb, struct mrb_context *c); |
mzta | 0:158c61bb030f | 17 | |
mzta | 0:158c61bb030f | 18 | #if defined(__cplusplus) |
mzta | 0:158c61bb030f | 19 | } /* extern "C" { */ |
mzta | 0:158c61bb030f | 20 | #endif |
mzta | 0:158c61bb030f | 21 | |
mzta | 0:158c61bb030f | 22 | #endif /* MRUBY_GC_H */ |
mzta | 0:158c61bb030f | 23 |