mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
yes
This commit is contained in:
@@ -30,8 +30,8 @@ def extract_prototypes(function_names, header_file):
|
||||
arg_name = parts[-1]
|
||||
arg_type = ' '.join(parts[:-1])
|
||||
if arg_name != 'void':
|
||||
argument_list.append(f'{arg_type} {arg_name}')
|
||||
parameter_list.append(f'{arg_name.split('*')[-1]}')
|
||||
argument_list.append(f"{arg_type} {arg_name}")
|
||||
parameter_list.append(f"{arg_name.split('*')[-1]}")
|
||||
if return_type == 'void':
|
||||
prototype = f'PULSE_OPENGL_WRAPPER({function_name}, ({", ".join(argument_list)}), ({", ".join(parameter_list)}), {"PFN" + function_name.upper() + "PROC"})'
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user