Skip to content
Snippets Groups Projects
Commit c37523777256 authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Disable Python bindings for debugger

Most of the functions couldn't be used from Python anyway.

Fixes #75.
parent 2b9a8d67195e
No related branches found
No related tags found
No related merge requests found
...@@ -136,13 +136,6 @@ ...@@ -136,13 +136,6 @@
####################################################################### #######################################################################
skipped_modules = { skipped_modules = {
'xmlmemory': None,
'DOCBparser': None,
'SAX': None,
'hash': None,
'list': None,
'threads': None,
'xpointer': None,
'transform': None, 'transform': None,
} }
skipped_types = { skipped_types = {
...@@ -156,6 +149,15 @@ ...@@ -156,6 +149,15 @@
'xmlBufferPtr': "internal representation not suitable for python", 'xmlBufferPtr': "internal representation not suitable for python",
'FILE *': None, 'FILE *': None,
} }
skipped_functions = {
'xsltMatchPattern': True,
# Debugger
'xslAddCall': True,
'xslDropCall': True,
'xslHandleDebugger': True,
'xsltSetDebuggerCallbacks': True,
'xsltSetDebuggerStatus': True,
}
####################################################################### #######################################################################
# #
...@@ -247,5 +249,5 @@ ...@@ -247,5 +249,5 @@
####################################################################### #######################################################################
def skip_function(name): def skip_function(name):
if name[0:12] == "xmlXPathWrap": if name in skipped_functions:
return 1 return 1
...@@ -251,8 +253,4 @@ ...@@ -251,8 +253,4 @@
return 1 return 1
if name == "xsltMatchPattern":
return 1
# if name[0:11] == "xmlXPathNew":
# return 1
return 0 return 0
def print_function_wrapper(name, output, export, include): def print_function_wrapper(name, output, export, include):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment