X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Ftypes%2Fcpp_macro_call.h;h=ecb0ea6482488f37611a20ecda289e7856c04667;hp=5c8d9a8cc75d227e861afd070389ae6a21c06174;hb=b1c7c64ca1d1d9dc79a59c0f612bd07e7a997a60;hpb=6509a2053456d0e63b6f383b757289d3016ed1a5 diff --git a/src/types/cpp_macro_call.h b/src/types/cpp_macro_call.h index 5c8d9a8..ecb0ea6 100644 --- a/src/types/cpp_macro_call.h +++ b/src/types/cpp_macro_call.h @@ -29,16 +29,20 @@ struct psi_token; struct psi_plist; +#include "builtin.h" + struct psi_cpp_macro_call { struct psi_token *token; - char *name; + zend_string *name; struct psi_plist *args; + struct psi_builtin *builtin; }; -struct psi_cpp_macro_call *psi_cpp_macro_call_init(const char *name, +struct psi_cpp_macro_call *psi_cpp_macro_call_init(zend_string *name, struct psi_plist *args); struct psi_cpp_macro_call *psi_cpp_macro_call_copy( struct psi_cpp_macro_call *call); void psi_cpp_macro_call_free(struct psi_cpp_macro_call **call_ptr); +void psi_cpp_macro_call_dump(struct psi_dump *dump, struct psi_cpp_macro_call *call); #endif