Hello,
I'm looking for a one-to-one function from strings to the built-in
data types in C. I will be keeping the string in a file. I need the
PyTypeObject* back from it. If nothing else I'll just do a bunch of
strcmp( "tuple" ) { return &PyTuple_Typ e; } commands, provided
&PyTuple_Typ e; will be linking the right address.
The project is for a hobby, no money or official credentials on the
line. Any help is appreciated.
I'm looking for a one-to-one function from strings to the built-in
data types in C. I will be keeping the string in a file. I need the
PyTypeObject* back from it. If nothing else I'll just do a bunch of
strcmp( "tuple" ) { return &PyTuple_Typ e; } commands, provided
&PyTuple_Typ e; will be linking the right address.
The project is for a hobby, no money or official credentials on the
line. Any help is appreciated.
Comment