X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fpsi.m4;h=8d8797c86116f2d489edd78d3b72f158caf8bdc2;hp=cf7a0354e1ff0863fbc9eb43343b3b79f15bf036;hb=b25cb3852e3c6ef6da608001585218015aaf5d3e;hpb=6666c904bfd76dee4b0d7395de81ce1cf88edf2f diff --git a/m4/psi.m4 b/m4/psi.m4 index cf7a035..8d8797c 100644 --- a/m4/psi.m4 +++ b/m4/psi.m4 @@ -9,14 +9,20 @@ PSI_REDIRS=$PHP_PSI_SRCDIR/php_psi_redirs.h PSI_MACROS=$PHP_PSI_SRCDIR/php_psi_macros.h PSI_DECLS=$PHP_PSI_SRCDIR/php_psi_decls.h PSI_VA_DECLS=$PHP_PSI_SRCDIR/php_psi_va_decls.h +PSI_FN_DECLS=$PHP_PSI_SRCDIR/php_psi_fn_decls.h dnl PSI_CONFIG_INIT() dnl Creates stubs of the headers with pre-defined types etc. dnl These headers are included by src/context.c. dnl This macro must be called prior any checks for a type, struct, decl etc. AC_DEFUN(PSI_CONFIG_INIT, [ - cat >$PSI_STDTYPES <$i <>$PSI_STDTYPES <$PSI_TYPES <>$PSI_TYPES <@ = { EOF - cat >$PSI_STRUCTS <>$PSI_STRUCTS <@ = { EOF - cat >$PSI_UNIONS <>$PSI_UNIONS <@ = { EOF - cat >$PSI_CONSTS <>$PSI_CONSTS <@ = { EOF - cat >$PSI_REDIRS <>$PSI_REDIRS <@ = { EOF - cat >$PSI_MACROS $PSI_DECLS <>$PSI_MACROS <>$PSI_DECLS <@ = { EOF - cat >$PSI_VA_DECLS <>$PSI_VA_DECLS <@ = { +EOF + cat >>$PSI_FN_DECLS <@ = { EOF ]) @@ -103,9 +106,18 @@ dnl Finish the headers with the pre-defined types etc. AC_DEFUN(PSI_CONFIG_DONE, [ cat >$PSI_STDINC <>$i <