Last active
September 14, 2018 21:59
-
-
Save astagi/5a9eeed7633142aec41e49b604dfac45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Python.h> | |
// ... | |
int is_a_long(PyObject * p) { | |
return PyLong_Check(p); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment