Documentation
¶
Overview ¶
Package gen emits the C side of the PHP bindings from a surface.Model: the cgo wrapper file compiled into the c-shared library, the FFI-parsable C header, and a JSON manifest describing what was bound and what was not.
Every emitter is a pure function of the model. The same model always yields the same bytes, so the generated files can be committed and a drift check is a byte comparison. Nothing here reads the clock, the filesystem, or the environment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeaderFile ¶
HeaderFile returns the contents of bindings/php/encx.h.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.