mbed I/F binding for mruby
Dependents: mruby_mbed_web mirb_mbed
mbed-mruby
How to use
Class
src/enum.c@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 | ** enum.c - Enumerable module |
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 | #include "mruby.h" |
mzta | 0:158c61bb030f | 8 | |
mzta | 0:158c61bb030f | 9 | void |
mzta | 0:158c61bb030f | 10 | mrb_init_enumerable(mrb_state *mrb) |
mzta | 0:158c61bb030f | 11 | { |
mzta | 0:158c61bb030f | 12 | mrb_define_module(mrb, "Enumerable"); /* 15.3.2 */ |
mzta | 0:158c61bb030f | 13 | } |
mzta | 0:158c61bb030f | 14 | |
mzta | 0:158c61bb030f | 15 |