Skip to main content

Crate rsphp_build_tools

Crate rsphp_build_tools 

Source
Expand description

This crate holds various tools for building up the rsphp-sys crate, so that they can be reused when overriding that crate on a per-project basis.

Structsยง

AnonymousTypeNames
Renames some anonymous type names from the names generated by bindgen (e.g. _zend_function__bindgen_ty_1) to more understandable names (e.g. _zend_function__common).
BuildIdCallbacks
Callbacks to modify the ZEND_MODULE_BUILD_ID C macro to make it usable by bindgen.
CommentProcessor
Callbacks to fix up some comments pulled from the C documentation.
ExplicitIntTypesCallbacks
Callbacks to specify what type of integer should be used for various C #defined constants.
IntTypeCastCallbacks
Callbacks to fix handling of C macros that are defined as integer casts.
ZendHeaderIterator
Helper to iterate over known Zend headers to add to bindgen.