static PHP_METHOD(swoole_table, create) { swTable *table = swoole_get_object(getThis()); if (swTable_create(table) < 0) { swoole_php_fatal_error(E_ERROR, "Unable to allocate memory."); RETURN_FALSE; } RETURN_TRUE; }
static PHP_METHOD(swoole_table, create) { swTable *table = swoole_get_object(getThis()); swTable_create(table); RETURN_TRUE; }