Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "aaalib.h"
- #include <Python.h>
- char* typeName(unsigned long id){
- PyObject* p = (PyObject*)id;
- PyTypeObject* type = p->ob_type;
- return (char*)type->tp_name;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement