Skip to content

Commit 9019691

Browse files
Expose dummy NSOpenGLContext
1 parent c1c601c commit 9019691

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ocp.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ parsing_header = '''#include <Standard_Handle.hxx>
555555

556556
include_header_pre = """#include <Message_Messenger.hxx>
557557
struct NSOpenGLContext {};"""
558+
include_body_pre = 'py::class_<NSOpenGLContext>(m, "NSOpenGLContext");'
558559
exclude_methods = ["OpenGl_GlCore11::glGetPointerv","OpenGl_RaytraceGeometry::Clear",
559560
"OpenGl_View::ChangeGraduatedTrihedron","OpenGl_View::LayerList"]
560561
exclude_typedefs = ["OpenGl_SequenceOfLayers","OpenGl_SetterList","OpenGl_MapOfHatchStylesAndIds","OpenGl_MapOfZLayerSettings","OpenGl_IndexedMapOfStructure","OpenGl_MapOfShaderPrograms","OpenGl_IndexedMapOfStructure","OpenGl_LayerSeqIds"]
@@ -803,4 +804,4 @@ struct NSView {};"""
803804

804805
[Modules.ShapeAnalysis]
805806

806-
exclude_classes = ["ShapeAnalysis_BoxBndTreeSelector"]
807+
exclude_classes = ["ShapeAnalysis_BoxBndTreeSelector"]

0 commit comments

Comments
 (0)