native
param_convert
Deprecated
Style 1 natives are deprecated and should be converted to
style 0. This should not be used.
Syntax
native param_convert(num);
Description
Converts a parameter to work as a by-reference parameter.
Parameters
| num | Argument to convert, starting from 1 |
|---|
Note
This only needs to be called if the native was registered with style 1.
Note
Remember that arrays (and strings) are always by-reference and need to
be converted.
Return
This function has no return value.
Error
If used outside of a native callback, or the native was
created with style 0, an error will be thrown.