PyObject* mOptions = Py_InitModule( "_wolfpack.options", wpOptions ); PyObject_SetAttrString( wpNamespace, "options", mOptions );
void init_wolfpack_globals(){	PyObject* wpNamespace = Py_InitModule( "_wolfpack", wpGlobal );	PyObject* mConsole = Py_InitModule( "_wolfpack.console", wpConsole );	PyObject_SetAttrString( wpNamespace, "console", mConsole );	PyObject* mAccounts = Py_InitModule( "_wolfpack.accounts", wpAccounts );	PyObject_SetAttrString( wpNamespace, "accounts", mAccounts );	PyObject* mSockets = Py_InitModule( "_wolfpack.sockets", wpSockets );	PyObject_SetAttrString( wpNamespace, "sockets", mSockets );	PyObject* mTime = Py_InitModule( "_wolfpack.time", wpTime );	PyObject_SetAttrString( wpNamespace, "time", mTime );	PyObject* mSettings = Py_InitModule( "_wolfpack.settings", wpSettings );	PyObject_SetAttrString( wpNamespace, "settings", mSettings );	PyObject* mOptions = Py_InitModule( "_wolfpack.options", wpOptions );	PyObject_SetAttrString( wpNamespace, "options", mOptions );	PyObject* mDatabase = Py_InitModule( "_wolfpack.database", wpDatabase );	PyObject_SetAttrString( wpNamespace, "database", mDatabase );	// Try to import the wolfpack module and add some integer constants	/*PyObject *module;	module = PyImport_ImportModule("wolfpack.consts");	if (!module) {		reportPythonError("wolfpack.consts");		return;	}	Py_DECREF(module);*/}