Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
misc.h@0:4ab1392a0142, 2012-10-07 (annotated)
- Committer:
- gignops
- Date:
- Sun Oct 07 11:49:09 2012 +0000
- Revision:
- 0:4ab1392a0142
This project is an adaptation of tinypy code. The aim is to run python code on Mbed.; ; Have fun !
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| gignops | 0:4ab1392a0142 | 1 | #ifndef MISC_H |
| gignops | 0:4ab1392a0142 | 2 | #define MISC_H |
| gignops | 0:4ab1392a0142 | 3 | |
| gignops | 0:4ab1392a0142 | 4 | #include "tp.h" |
| gignops | 0:4ab1392a0142 | 5 | #include "list.h" |
| gignops | 0:4ab1392a0142 | 6 | |
| gignops | 0:4ab1392a0142 | 7 | tp_obj *tp_ptr(tp_obj o); |
| gignops | 0:4ab1392a0142 | 8 | tp_obj _tp_dcall(TP,tp_obj fnc(TP)); |
| gignops | 0:4ab1392a0142 | 9 | tp_obj _tp_tcall(TP,tp_obj fnc); |
| gignops | 0:4ab1392a0142 | 10 | tp_obj tp_fnc_new(TP,int t, void *v, tp_obj s, tp_obj g); |
| gignops | 0:4ab1392a0142 | 11 | tp_obj tp_def(TP,void *v, tp_obj g); |
| gignops | 0:4ab1392a0142 | 12 | tp_obj tp_fnc(TP,tp_obj v(TP)); |
| gignops | 0:4ab1392a0142 | 13 | tp_obj tp_method(TP,tp_obj self,tp_obj v(TP)); |
| gignops | 0:4ab1392a0142 | 14 | tp_obj tp_data(TP,int magic,void *v); |
| gignops | 0:4ab1392a0142 | 15 | tp_obj tp_params(TP); |
| gignops | 0:4ab1392a0142 | 16 | tp_obj tp_params_n(TP,int n, tp_obj argv[]); |
| gignops | 0:4ab1392a0142 | 17 | tp_obj tp_params_v(TP,int n,...) ; |
| gignops | 0:4ab1392a0142 | 18 | |
| gignops | 0:4ab1392a0142 | 19 | |
| gignops | 0:4ab1392a0142 | 20 | #endif |