Changeset 43487 in vbox for trunk/src/VBox/GuestHost/OpenGL/packer/packer.py
- Timestamp:
- Oct 1, 2012 11:53:15 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/packer/packer.py
r33475 r43487 114 114 """Emit a packer function.""" 115 115 if is_swapped: 116 print 'void PACK_APIENTRY crPack%sSWAP( %s )' % (func_name, apiutil.MakeDeclarationString (params))117 else: 118 print 'void PACK_APIENTRY crPack%s( %s )' % (func_name, apiutil.MakeDeclarationString (params))116 print 'void PACK_APIENTRY crPack%sSWAP( %s )' % (func_name, apiutil.MakeDeclarationStringWithContext('CR_PACKER_CONTEXT', params)) 117 else: 118 print 'void PACK_APIENTRY crPack%s( %s )' % (func_name, apiutil.MakeDeclarationStringWithContext('CR_PACKER_CONTEXT', params)) 119 119 print '{' 120 120 print '\tCR_GET_PACKER_CONTEXT(pc);'
Note:
See TracChangeset
for help on using the changeset viewer.