From cc42fb149060586712070283667a72dbfade15dc Mon Sep 17 00:00:00 2001 From: yuyi <297341015@qq.com> Date: Sun, 15 Oct 2017 08:33:20 +0800 Subject: [PATCH] =?UTF-8?q?win32=20signal=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wing_process.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/wing_process.c b/wing_process.c index 384733d..b596685 100755 --- a/wing_process.c +++ b/wing_process.c @@ -430,21 +430,21 @@ ZEND_METHOD(wing_process, getCurrentProcessId) { ZVAL_LONG(return_value, wing_get_process_id()); } - -ZEND_METHOD(wing_process, signal) -{ - int sig = -1; - zval* callback; - - zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &sig, &callback); - - #ifdef PHP_WIN32 - - #else - - #endif - RETURN_TRUE -} +// +//ZEND_METHOD(wing_process, signal) +//{ +// int sig = -1; +// zval* callback; +// +// zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &sig, &callback); +// +// #ifdef PHP_WIN32 +// +// #else +// +// #endif +// RETURN_TRUE +//} static zend_function_entry wing_process_methods[] = @@ -459,7 +459,7 @@ static zend_function_entry wing_process_methods[] = ZEND_ME(wing_process, kill, NULL, ZEND_ACC_PUBLIC) ZEND_ME(wing_process, getMemory, NULL, ZEND_ACC_PUBLIC) ZEND_ME(wing_process, getCurrentProcessId, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) - ZEND_ME(wing_process, signal, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) + //ZEND_ME(wing_process, signal, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) { NULL,NULL,NULL }