wilton/wiltoncall
Call native function.
More...
Functions | |
String | wiltoncall (String name, String|Object|Undefined data) |
This module allows to call native functions, that were added to "wiltoncall registry" using wiltoncall_register
(C
API) or wilton::support::register_wiltoncall
(C++
API).
All interaction from wilton.js
to the native code it done through this module.
Usage example:
String wiltoncall::wiltoncall | ( | String | name, |
String|Object|Undefined | data | ||
) |
name | String name that was used to register native function at wilton registry |
data | String|Object|Undefined input data for native function |
String
output of the native function