|
DETLEF C SDK
Native embedding and package authoring
|
Functions | |
| static DetlefSdkStatus | detlef_sdk_execute (DetlefSdkCall *call, const char *source, size_t length, DetlefSdkValue *out) |
| static DetlefSdkStatus | detlef_sdk_error (DetlefSdkCall *call, const char *message) |
| static void * | detlef_sdk_data (DetlefSdkCall *call) |
|
inlinestatic |
Read the data pointer supplied in this callable's definition. The SDK never frees this pointer.
| call | Borrowed callback access. Must not be saved or freed. |
|
inlinestatic |
Report a package error. Native calls return DETLEF_SDK_ERROR; Wasm calls throw into the host and abort the callback immediately. No portable recovery inside the callback is supported.
| call | Borrowed callback access. Must not be saved or freed. |
| message | Borrowed NUL-terminated message, copied during reporting. |
|
inlinestatic |
Evaluate source within the current Control context. Unavailable to eager Functions. Side effects are not rolled back on error.
| call | Borrowed callback access. Must not be saved or freed. | |
| source | Borrowed UTF-8 source. | |
| length | Source byte length. | |
| [out] | out | Receives a callback-local handle, released automatically at callback exit. Must be retained before being saved beyond the callback. |