X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Ftypes%2Fimpl_type.c;h=e4ace47e69ed74326508025b3493eb188ec00b7f;hb=4bf8ff5e477da2fa4f82518bb947055c2c0374d6;hp=be173aa9b1b646a437f0de820621c75b5cca5d95;hpb=216e7ac3b97aed5a5d65c511dc061c78be90e79d;p=m6w6%2Fext-psi diff --git a/src/types/impl_type.c b/src/types/impl_type.c index be173aa..e4ace47 100644 --- a/src/types/impl_type.c +++ b/src/types/impl_type.c @@ -23,7 +23,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *******************************************************************************/ -#include "php_psi_stdinc.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#else +# include "php_config.h" +#endif #include "data.h" struct psi_impl_type *psi_impl_type_init(token_t type, zend_string *name) @@ -36,9 +40,9 @@ struct psi_impl_type *psi_impl_type_init(token_t type, zend_string *name) return t; } -void psi_impl_type_dump(int fd, struct psi_impl_type *type) +void psi_impl_type_dump(struct psi_dump *dump, struct psi_impl_type *type) { - dprintf(fd, "%s", type->name->val); + PSI_DUMP(dump, "%s", type->name->val); } void psi_impl_type_free(struct psi_impl_type **type_ptr)