mbed I/F binding for mruby
Dependents: mruby_mbed_web mirb_mbed
mbed-mruby
How to use
Class
include/mruby/gc.h@0:158c61bb030f, 2015-03-25 (annotated)
- Committer:
- mzta
- Date:
- Wed Mar 25 17:36:16 2015 +0000
- Revision:
- 0:158c61bb030f
mirb_mbed initial commit;
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 |