Skip to content

Commit 1eda844

Browse files
Updated configuration
OCP compiles and imports properly with this config
1 parent 59cfa72 commit 1eda844

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

gp.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ module_mapping = "lambda x: Path(x).splitpath()[-1].split('.')[0].split('_')[0]"
246246

247247
[Modules.gp]
248248

249-
exclude_typedefs = ["gp",]
249+
exclude_typedefs = ["gp","gp_TrsfNLerp"]
250250

251251
[Modules.Standard]
252252

@@ -258,7 +258,7 @@ module_mapping = "lambda x: Path(x).splitpath()[-1].split('.')[0].split('_')[0]"
258258

259259
[Modules.NCollection]
260260

261-
include_body_pre = "const size_t DefaultBlockSize = 24600;"
261+
include_header_pre = "const size_t DefaultBlockSize = 24600;"
262262
exclude_classes = ["NCollection","NCollection_ListNode"]
263263

264264
[Modules.OSD]
@@ -401,7 +401,7 @@ module_mapping = "lambda x: Path(x).splitpath()[-1].split('.')[0].split('_')[0]"
401401
[Modules.OpenGl]
402402

403403
include_header_pre = "#include <Message_Messenger.hxx>"
404-
exclude_typedefs = ["OpenGl_SequenceOfLayers","OpenGl_SetterList","OpenGl_MapOfHatchStylesAndIds","OpenGl_MapOfZLayerSettings","OpenGl_IndexedMapOfStructure","OpenGl_MapOfShaderPrograms","OpenGl_IndexedMapOfStructure"]
404+
exclude_typedefs = ["OpenGl_SequenceOfLayers","OpenGl_SetterList","OpenGl_MapOfHatchStylesAndIds","OpenGl_MapOfZLayerSettings","OpenGl_IndexedMapOfStructure","OpenGl_MapOfShaderPrograms","OpenGl_IndexedMapOfStructure","OpenGl_LayerSeqIds"]
405405

406406
[Modules.StdSelect]
407407

@@ -418,7 +418,8 @@ module_mapping = "lambda x: Path(x).splitpath()[-1].split('.')[0].split('_')[0]"
418418

419419
[Modules.AIS]
420420

421-
include_body_pre = "auto OptionsForAttach = [](){return AIS_Manipulator::OptionsForAttach();}; py::class_<AIS_Manipulator::OptionsForAttach>(m,\"AIS_Manipulator_OptionsForAttach\");"
421+
include_header_pre = "auto OptionsForAttach = [](){return AIS_Manipulator::OptionsForAttach();};"
422+
include_body_pre = "py::class_<AIS_Manipulator::OptionsForAttach>(m,\"AIS_Manipulator_OptionsForAttach\");"
422423
exclude_typedefs = ["AIS_DataMapOfShapeDrawer","AIS_DataMapOfIOStatus","AIS_DataMapOfILC","AIS_IndexedDataMapOfOwnerPrs"]
423424

424425
[Modules.Font]

0 commit comments

Comments
 (0)