Create runtime/instance_props.kry with InstanceState as an "#extern #export" declaration — size_t and void* pass through untouched — so the tracked ui_instance_props.generated.h carries the public ABI and include/ui_instance.h is deleted. kir_emit.c, which hard-codes that include for modules borrowing instance state, now emits the props header, and the canonical surface doc gains the new module's row. Gates: generated-runtime-parity-test, fast-test, k2c/k2cpp/k2go-syntax-test, go-runtime-test, examples-syntax-test, and the refreshed public-API snapshot pass.
6 lines
252 B
Plaintext
6 lines
252 B
Plaintext
#module "instance_props"
|
|
|
|
# Implemented by the C-only widget-store host; declared here for the public ABI
|
|
# and for the state borrowing every generated module emits.
|
|
InstanceState :: (type: const char*, key: u64, size: size_t) -> *void #extern #export
|