python ctypes to int main(int argc, char *argv[])

Christian Heimes lists at cheimes.de
Thu Jul 1 18:05:33 EDT 2010


> my question is, therefore, how do i specify a ctypes wrapper around
> the standard int main(int argc, char *argv[]) which i am (obviously)
> going to move to a (new) c library?

Maybe I missing something here but libraries don't have a main()
function. The main() function is the entry point of a program. Libraries
have different means for initialization.

Christian




More information about the Python-list mailing list