|
Reduct
v4.0.5-1-g4851deb
A functional and immutable language.
|
Native function and intrinsic registration. More...
Go to the source code of this file.
Data Structures | |
| struct | reduct_native_t |
| Native function definition structure. More... | |
| struct | reduct_native_global_t |
| Global native-related state structure. More... | |
| struct | reduct_native_entry_t |
| Native map entry. More... | |
Macros | |
| #define | REDUCT_NATIVE_MAP_INITIAL 256 |
| The initial size of the native map. | |
| #define | REDUCT_NATIVE_MAP_GROWTH 2 |
| The growth factor of the native map. | |
Functions | |
| REDUCT_API void | reduct_native_global_init (reduct_native_global_t *global) |
| Initialize a global native state. | |
| REDUCT_API void | reduct_native_global_deinit (reduct_native_global_t *global) |
| Deinitialize a global native state. | |
| REDUCT_API reduct_native_entry_t * | reduct_native_map_find (struct reduct *reduct, uint32_t hash, const char *str, size_t len) |
| Find a native entry in the map. | |
| REDUCT_API void | reduct_native_register (struct reduct *reduct, const reduct_native_t *array, size_t count) |
| Register native functions. | |
Native function and intrinsic registration.
Definition in file native.h.