2013-12-21 13:17:45 -05:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "nlr.h"
|
|
|
|
#include "misc.h"
|
|
|
|
#include "mpconfig.h"
|
|
|
|
#include "obj.h"
|
|
|
|
|
|
|
|
void type_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in) {
|
2014-01-02 11:01:17 -05:00
|
|
|
print(env, "<a type>");
|
2013-12-21 13:17:45 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
const mp_obj_type_t mp_const_type = {
|
|
|
|
{ &mp_const_type },
|
2014-01-02 11:01:17 -05:00
|
|
|
"<a type>",
|
2013-12-21 13:17:45 -05:00
|
|
|
type_print, // print
|
|
|
|
NULL, // call_n
|
|
|
|
NULL, // unary_op
|
|
|
|
NULL, // binary_op
|
|
|
|
NULL, // getiter
|
|
|
|
NULL, // iternext
|
|
|
|
{{NULL, NULL},}, // method list
|
|
|
|
};
|