mbed I/F binding for mruby
Dependents: mruby_mbed_web mirb_mbed
mbed-mruby
How to use
Class
src/compar.c@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 | ** compar.c - Comparable 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_comparable(mrb_state *mrb) |
mzta | 0:158c61bb030f | 11 | { |
mzta | 0:158c61bb030f | 12 | mrb_define_module(mrb, "Comparable"); /* 15.3.3 */ |
mzta | 0:158c61bb030f | 13 | } |
mzta | 0:158c61bb030f | 14 |