You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build/helper/codegen_helper.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -438,7 +438,7 @@ def _get_ctype_variable_definition_snippet_for_buffers(parameter, parameters, iv
438
438
ifparameter['complex_type'] =='none':
439
439
definition='_get_ctypes_pointer_for_buffer(value={}) # case B510'.format(parameter['python_name'])
440
440
else:
441
-
definition='_get_ctypes_pointer_for_buffer(value={}, library_type={}.{}, complex_type=\'{}\') # case B510'.format(parameter['python_name'], module_name, parameter['ctypes_type'], parameter['complex_type'])
441
+
definition='_get_ctypes_pointer_for_buffer(value={}, library_type={}.{}) # case B510'.format(parameter['python_name'], module_name, parameter['ctypes_type'])
442
442
elifparameter['direction'] =='in':
443
443
ifcustom_typeisnotNone:
444
444
definition='_get_ctypes_pointer_for_buffer([{0}.{1}(c) for c in {2}], library_type={0}.{1}) # case B540'.format(module_name, parameter['ctypes_type'], parameter['python_name'])
0 commit comments