The ABI exposed through include/native_message_box.h is designed to stay stable across additive evolution.
NMB_ABI_VERSION encodes major, minor, and patch.Every public struct carries a struct_size field. Callers must initialize it with sizeof(struct).
That enables two important things:
NmbAllocator allows the caller to override allocation policy.| Function | Purpose |
|---|---|
nmb_initialize |
Optional runtime initialization and logging setup |
nmb_show_message_box |
Show a dialog and write the result |
nmb_shutdown |
Release runtime state |
Inspect both:
NmbResultCodeNmbMessageBoxResult payload for button, input, checkbox, timeout, and result code details