lgrahl / scripthookvpy3k

An ASI plugin for Grand Theft Auto V which allows running scripts written in Python 3 in game.
MIT License
50 stars 13 forks source link

Native function output arguments #15

Open lgrahl opened 9 years ago

lgrahl commented 9 years ago

Some native functions like PLAYER::GET_PLAYER_RGB_COLOUR store the output values in the passed arguments using pointers. Fortunately, there are not many functions that behave in this manner. SWIG has a solution for this (called typemaps). However, there are some problems:

If you find a native function that has not been covered by the currently defined typemaps, please fix natives.i directly or add a comment here.