native
set_string
Syntax
native set_string(param, dest[], maxlen);
Description
Copies a string to the plugin calling the native.
Parameters
| param | Argument to set, starting from 1 |
|---|---|
| dest | Buffer to copy string from |
| maxlen | Maximum size of buffer |
Return
Number of cells copied from buffer
Error
If used outside of a native callback, or the native was
created with style 1, an error will be thrown.