|
|
|
@ -217,20 +217,16 @@ PHP_METHOD(Timeval, sleep_until) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static zend_function_entry timeval_methods[] = { |
|
|
|
|
PHP_ME(Timeval, __construct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR) PHP_ME( |
|
|
|
|
Timeval, add, NULL, |
|
|
|
|
ZEND_ACC_PUBLIC) PHP_ME(Timeval, compare, NULL, |
|
|
|
|
ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) |
|
|
|
|
PHP_ME(Timeval, __construct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR) |
|
|
|
|
PHP_ME(Timeval, add, NULL, ZEND_ACC_PUBLIC) |
|
|
|
|
PHP_ME(Timeval, compare, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) |
|
|
|
|
PHP_ME(Timeval, inf_future, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) |
|
|
|
|
PHP_ME(Timeval, inf_past, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) |
|
|
|
|
PHP_ME(Timeval, now, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) |
|
|
|
|
PHP_ME(Timeval, similar, NULL, |
|
|
|
|
ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) |
|
|
|
|
PHP_ME(Timeval, similar, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) |
|
|
|
|
PHP_ME(Timeval, sleep_until, NULL, ZEND_ACC_PUBLIC) |
|
|
|
|
PHP_ME(Timeval, subtract, NULL, ZEND_ACC_PUBLIC) |
|
|
|
|
PHP_ME(Timeval, zero, NULL, |
|
|
|
|
ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) |
|
|
|
|
PHP_FE_END}; |
|
|
|
|
PHP_ME(Timeval, zero, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_FE_END}; |
|
|
|
|
|
|
|
|
|
void grpc_init_timeval(TSRMLS_D) { |
|
|
|
|
zend_class_entry ce; |
|
|
|
|