PHP 7.2 upgrade
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#ifndef PHP_COREGRADE_API_H
|
||||
#define PHP_COREGRADE_API_H
|
||||
#ifndef PHP_COREGRADE_API_OAMEYE_H
|
||||
#define PHP_COREGRADE_API_OAMEYE_H
|
||||
|
||||
#define PHP_COREGRADE_API_EXTNAME "coregrade_api"
|
||||
#define PHP_COREGRADE_API_EXTVER "0.1"
|
||||
#define PHP_COREGRADE_API_OAMEYE_EXTNAME "coregrade_api_oameye"
|
||||
#define PHP_COREGRADE_API_OAMEYE_EXTVER "0.1"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@@ -12,7 +12,8 @@ extern "C" {
|
||||
#include "php.h"
|
||||
}
|
||||
|
||||
extern zend_module_entry coregrade_api_module_entry;
|
||||
#define phpext_coregrade_api_ptr &coregrade_api_module_entry;
|
||||
extern zend_module_entry coregrade_api_oameye_module_entry;
|
||||
#define coregrade_api_oameye_module_ptr &coregrade_api_oameye_module_entry
|
||||
#define phpext_coregrade_api_oameye_ptr coregrade_api_oameye_module_ptr
|
||||
|
||||
#endif /* PHP_COREGRADE_API_H */
|
||||
#endif /* PHP_COREGRADE_API_OAMEYE_H */
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define COREGRADE_API_NS "coregrade_api_oameye"
|
||||
#define COREGRADE_API_OAMEYE_NS "coregrade_api_oameye"
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define COREGRADE_LOG "/home/oameye/coregrade/coregrade/logs/coregrade_api.log"
|
||||
#define COREGRADE_LOG "/home/oameye/coregrade/coregrade/logs/coregrade_api_oameye.log"
|
||||
|
||||
Reference in New Issue
Block a user