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.

Modulesยง

anonymous_type_names ๐Ÿ”’
Module for the AnonymousTypeNames callbacks.
build_id ๐Ÿ”’
Module for the BuildIdCallbacks callbacks.
comment_processor ๐Ÿ”’
Module for the CommentProcessor callbacks.
headers ๐Ÿ”’
Module for the ZendHeaderIterator utility.
int_casts ๐Ÿ”’
Module for the IntTypeCastCallbacks callbacks.
int_types ๐Ÿ”’
Module for the ExplicitIntTypesCallbacks callbacks.

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.