get_string

Синтаксис

native get_string(param, dest[], maxlen);

Употреба

param
Argument to retrieve, starting from 1
dest
Buffer to copy string to
maxlen
Maximum size of buffer

Описание

Retrieves a string from the plugin calling the native.

Връщаща стойност

Number of cells copied to buffer

Грешка

If used outside of a native callback, or the native was
created with style 1, an error will be thrown.