Multfile C Extensions
dieter at handshake.de
Mon May 29 23:19:11 CEST 2000
"Pete Shinners" <pshinners at mediaone.net> writes on Sun, 28 May 2000 19:54:12 GMT:
> i've got a C python extension that has gotten pretty large.
> i'd like to break the file up into smaller components, but
> i'm finding this is actually pretty tricky.
> since all functions/variables must be static (aside from init)
> how can i get the different files to work with each other?
It is not necessary but possible that objects are static.
Make them global, if this helps you.
Give them prefixes to reduce the risk of name clashes.
More information about the Python-list