projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
travis: add libidn11-dev for tests
[m6w6/ext-psi]
/
php_psi.h
diff --git
a/php_psi.h
b/php_psi.h
index 44918f057db2b78cfef4af9c1c3bcbfd21891021..3dedff290a3830dbca22049141b3d05fcff1594e 100644
(file)
--- a/
php_psi.h
+++ b/
php_psi.h
@@
-20,10
+20,6
@@
extern zend_module_entry psi_module_entry;
#include "context.h"
#include "context.h"
-void psi_error_wrapper(PSI_Token *t, int type, const char *msg, ...);
-void psi_error(int type, const char *fn, unsigned ln, const char *msg, ...);
-void psi_verror(int type, const char *fn, unsigned ln, const char *msg, va_list argv);
-
static inline int psi_check_env(const char *var) {
char *set = getenv(var);
return (set && *set && '0' != *set);
static inline int psi_check_env(const char *var) {
char *set = getenv(var);
return (set && *set && '0' != *set);
@@
-47,7
+43,7
@@
PHP_PSI_API zend_class_entry *psi_object_get_class_entry();
ZEND_BEGIN_MODULE_GLOBALS(psi)
char *engine;
char *directory;
ZEND_BEGIN_MODULE_GLOBALS(psi)
char *engine;
char *directory;
-
PSI_C
ontext context;
+
struct psi_c
ontext context;
ZEND_END_MODULE_GLOBALS(psi);
ZEND_EXTERN_MODULE_GLOBALS(psi);
ZEND_END_MODULE_GLOBALS(psi);
ZEND_EXTERN_MODULE_GLOBALS(psi);