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.
Diff: misc.h
- Revision:
- 0:4ab1392a0142
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/misc.h Sun Oct 07 11:49:09 2012 +0000 @@ -0,0 +1,20 @@ +#ifndef MISC_H +#define MISC_H + +#include "tp.h" +#include "list.h" + +tp_obj *tp_ptr(tp_obj o); +tp_obj _tp_dcall(TP,tp_obj fnc(TP)); +tp_obj _tp_tcall(TP,tp_obj fnc); +tp_obj tp_fnc_new(TP,int t, void *v, tp_obj s, tp_obj g); +tp_obj tp_def(TP,void *v, tp_obj g); +tp_obj tp_fnc(TP,tp_obj v(TP)); +tp_obj tp_method(TP,tp_obj self,tp_obj v(TP)); +tp_obj tp_data(TP,int magic,void *v); +tp_obj tp_params(TP); +tp_obj tp_params_n(TP,int n, tp_obj argv[]); +tp_obj tp_params_v(TP,int n,...) ; + + +#endif