Changeset 78375 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_dispatch.py
- Timestamp:
- May 3, 2019 9:51:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_dispatch.py
r78190 r78375 37 37 print('void SERVER_DISPATCH_APIENTRY crServerDispatch%s(%s)' % ( func_name, apiutil.MakeDeclarationStringForDispatcher( params ) )) 38 38 print('{') 39 print('\tcrState%s(%s);' % (func_name, apiutil.MakeCallStringForDispatcher( params ) )) 39 if len(params) == 0: 40 print('\tcrState%s(&cr_server.StateTracker);' % (func_name)) 41 else: 42 print('\tcrState%s(&cr_server.StateTracker, %s);' % (func_name, apiutil.MakeCallStringForDispatcher( params ) )) 40 43 print('\tcr_server.head_spu->dispatch_table.%s(%s);' % (func_name, apiutil.MakeCallStringForDispatcher( params ) )) 41 44 print('}')
Note:
See TracChangeset
for help on using the changeset viewer.