mirror of
https://github.com/mii443/rust-openvr.git
synced 2025-08-23 16:49:31 +00:00
Added pointer to gen
This commit is contained in:
@ -105,7 +105,7 @@ for s in data['structs']:
|
||||
print "extern \"C\" {"
|
||||
|
||||
for m in data['methods']:
|
||||
print '\tpub fn ' + parse_class(m['classname']) + '_' + m['methodname'] + "(",
|
||||
print '\tpub fn ' + parse_class(m['classname']) + '_' + m['methodname'] + "(usize,",
|
||||
s = []
|
||||
for p in m.get('params', []):
|
||||
if p['paramname'] == 'type':
|
||||
|
Reference in New Issue
Block a user