get_string

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

Retrieves a string from the plugin calling the native.

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

Number of cells copied to buffer

Errors
  • If used outside of a native callback, or the native was

    created with style 1, an error will be thrown.

Назад
Верх