PREDICTABLE LAYOUT FOR C INTEROP.

C ABI

Generate headers, dump structured ABI manifests, and verify field offsets before shipping native boundaries.

Current contract

  • `int` maps to `int64_t`, `float` maps to `double`, and `char` maps to `uint8_t`.
  • Pointers are pointer-sized and 8-byte aligned on the current x64 release targets.
  • Struct fields are laid out in declaration order with C-style alignment and tail padding.
  • Fixed arrays are inline struct storage and keep the element alignment.

Commands


Fatal error: Uncaught Error: Call to undefined function tn_code() in /home/u190073748/domains/tezznative.org/public_html/docs/c-abi.php:24 Stack trace: #0 {main} thrown in /home/u190073748/domains/tezznative.org/public_html/docs/c-abi.php on line 24