projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
api refactoring
[m6w6/ext-psi]
/
src
/
context_dump.c
diff --git
a/src/context_dump.c
b/src/context_dump.c
index f1386710aa3eebab1d91cb92a7ad54634b4346ab..1f40e4fca0f5bd20e31bb68ef8080a2d9f44c38b 100644
(file)
--- a/
src/context_dump.c
+++ b/
src/context_dump.c
@@
-1,6
+1,12
@@
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "php.h"
#include "php_psi.h"
#include "php.h"
#include "php_psi.h"
+#include "types.h"
+
#include "libjit.h"
#include "libffi.h"
#include "libjit.h"
#include "libffi.h"
@@
-497,15
+503,15
@@
static inline void dump_impls(int fd, impls *impls) {
}
}
}
}
-void
PSI_ContextDump(PSI_C
ontext *C, int fd)
+void
psi_context_dump(struct psi_c
ontext *C, int fd)
{
#ifdef HAVE_LIBJIT
{
#ifdef HAVE_LIBJIT
- if (C->ops ==
PSI_Libjit
()) {
+ if (C->ops ==
psi_libjit_ops
()) {
dprintf(fd, "// psi.engine=jit\n");
}
#endif
#ifdef HAVE_LIBFFI
dprintf(fd, "// psi.engine=jit\n");
}
#endif
#ifdef HAVE_LIBFFI
- if (C->ops ==
PSI_Libffi
()) {
+ if (C->ops ==
psi_libffi_ops
()) {
dprintf(fd, "// psi.engine=ffi\n");
}
#endif
dprintf(fd, "// psi.engine=ffi\n");
}
#endif