Poodletooth-iLand/panda/direct/ffi/FFIConstants.py

25 lines
774 B
Python
Raw Normal View History

2015-03-03 16:10:12 -06:00
# create a DirectNotify category for FFI modules
from direct.directnotify.DirectNotifyGlobal import *
notify = directNotify.newCategory("FFI")
# This is the name of the file that the importing code will be stored
importModuleName = 'PandaModules'
# A header for all the generated files
generatedHeader = '# This file is automatically generated. It would be unwise to edit.\n\n'
# These modules should come from somewhere outside this program
# Maybe in an environment variable, or by looking at what you are
# attached to?
CodeModuleNameList = []
# This is the module that contains the interrogate functions
InterrogateModuleName = None
# Should FFI output C++ comments with the source code?
wantComments = 1
# Should FFI output type assertions?
wantTypeChecking = 1