JtReader: Apply clang format

This commit is contained in:
wmayer
2023-09-10 11:17:04 +02:00
committed by wwmayer
parent e506c5fc42
commit 6a29122b04
25 changed files with 1209 additions and 1290 deletions

View File

@@ -30,32 +30,30 @@ extern struct PyMethodDef JtReader_methods[];
extern "C" {
void AppJtReaderExport initJtReader() {
void AppJtReaderExport initJtReader()
{
static struct PyModuleDef JtReaderAPIDef = {
PyModuleDef_HEAD_INIT,
"JtReader", 0, -1, JtReader_methods,
NULL, NULL, NULL, NULL
};
PyModule_Create(&JtReaderAPIDef);
static struct PyModuleDef JtReaderAPIDef =
{PyModuleDef_HEAD_INIT, "JtReader", 0, -1, JtReader_methods, NULL, NULL, NULL, NULL};
PyModule_Create(&JtReaderAPIDef);
// load dependent module
Base::Interpreter().loadModule("Mesh");
// load dependent module
Base::Interpreter().loadModule("Mesh");
// Initialize JtTk
//JtkEntityFactory::init();
// JtkEntityFactory::init();
// Note, non-evaluation JT Open Toolkit licensees must uncomment the
// following line, inserting their "Sold_To_ID". Each licensee has a
// unique Sold_To_ID issued by UGS Corp.
//
//JtkEntityFactory::registerCustomer( 1103193 );
//JtkEntityFactory::registerCustomer(1103103);
// Note, non-evaluation JT Open Toolkit licensees must uncomment the
// following line, inserting their "Sold_To_ID". Each licensee has a
// unique Sold_To_ID issued by UGS Corp.
//
// JtkEntityFactory::registerCustomer( 1103193 );
// JtkEntityFactory::registerCustomer(1103103);
Base::Console().Log("Loading JtReader module... done\n");
Base::Console().Log("Loading JtReader module... done\n");
return;
return;
}
} // extern "C" {
}// extern "C" {