|
Reduct
v1.0.4-3-gdaf0d70
A functional and immutable language.
|
A "native" is a C function that can be called at runtime.
Data Structures | |
| struct | reduct_native_t |
| Native function definition structure. More... | |
Typedefs | |
| typedef reduct_handle_t(* | reduct_native_fn) (struct reduct *reduct, reduct_size_t argc, reduct_handle_t *argv) |
| Native function pointer type. | |
Functions | |
| REDUCT_API void | reduct_native_register (struct reduct *reduct, reduct_native_t *array, reduct_size_t count) |
| Register native functions. | |
| typedef reduct_handle_t(* reduct_native_fn) (struct reduct *reduct, reduct_size_t argc, reduct_handle_t *argv) |
| REDUCT_API void reduct_native_register | ( | struct reduct * | reduct, |
| reduct_native_t * | array, | ||
| reduct_size_t | count | ||
| ) |
Register native functions.
| reduct | The Reduct structure. |
| array | An array of native function definitions. |
| count | The number of functions in the array. |