Changeset 78116 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Timestamp:
- Apr 12, 2019 10:03:24 AM (6 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_dispatch.py
r69390 r78116 35 35 if wrap: 36 36 print('#if defined(CR_%s)' % wrap) 37 print('void SERVER_DISPATCH_APIENTRY crServerDispatch%s(%s)' % ( func_name, apiutil.MakeDeclarationString ( params ) ))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.MakeCallString ( params ) ))40 print('\tcr_server.head_spu->dispatch_table.%s(%s);' % (func_name, apiutil.MakeCallString ( params ) ))39 print('\tcrState%s(%s);' % (func_name, apiutil.MakeCallStringForDispatcher( params ) )) 40 print('\tcr_server.head_spu->dispatch_table.%s(%s);' % (func_name, apiutil.MakeCallStringForDispatcher( params ) )) 41 41 print('}') 42 42 if wrap: … … 109 109 print('\t%s' % (condition)) 110 110 print('\t{') 111 print('\t\tcr_server.head_spu->dispatch_table.%s(%s);' % (func_name, apiutil.MakeCallString (params) ))111 print('\t\tcr_server.head_spu->dispatch_table.%s(%s);' % (func_name, apiutil.MakeCallStringForDispatcher(params) )) 112 112 print("\t\tcr_server.current.c.%s.%s%s = cr_unpackData;" % (name,type,array)) 113 113 print('\t}') -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_dispatch_header.py
r69390 r78116 41 41 return_type = apiutil.ReturnType(func_name) 42 42 43 print('%s SERVER_DISPATCH_APIENTRY crServerDispatch%s(%s);' % (return_type, func_name, apiutil.MakeDeclarationString ( params )))43 print('%s SERVER_DISPATCH_APIENTRY crServerDispatch%s(%s);' % (return_type, func_name, apiutil.MakeDeclarationStringForDispatcher( params ))) 44 44 45 45 print("""
Note:
See TracChangeset
for help on using the changeset viewer.