Advertisement
Guest User

aaalib.cpp

a guest
Oct 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include "aaalib.h"
  2. #include <Python.h>
  3.  
  4. char* typeName(unsigned long id){
  5.   PyObject* p = (PyObject*)id;
  6.   PyTypeObject* type = p->ob_type;
  7.   return (char*)type->tp_name;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement