File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -61,17 +61,11 @@ def dispatch_api(self, api):
61
61
# functions
62
62
print '#ifdef RETRACE'
63
63
for function in api .functions :
64
- if self .is_public_function (function ):
65
- print '#define __%s %s' % (function .name , function .name )
66
- else :
67
- print '#define %s __%s' % (function .name , function .name )
64
+ print '#define %s __%s' % (function .name , function .name )
68
65
print '#endif /* RETRACE */'
69
66
print
70
67
71
68
def dispatch_function (self , function ):
72
- if self .is_public_function (function ):
73
- print '#ifndef RETRACE'
74
- print
75
69
ptype = function_pointer_type (function )
76
70
pvalue = function_pointer_value (function )
77
71
print 'typedef ' + function .prototype ('* %s' % ptype ) + ';'
@@ -87,9 +81,6 @@ def dispatch_function(self, function):
87
81
print ' %s%s(%s);' % (ret , pvalue , ', ' .join ([str (arg .name ) for arg in function .args ]))
88
82
print '}'
89
83
print
90
- if self .is_public_function (function ):
91
- print '#endif /* !RETRACE */'
92
- print
93
84
94
85
def is_public_function (self , function ):
95
86
return True
You can’t perform that action at this time.
0 commit comments