-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathqueue.c
More file actions
32 lines (26 loc) · 1.07 KB
/
Copy pathqueue.c
File metadata and controls
32 lines (26 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include <Zend/zend_API.h>
#include <Zend/zend_hash.h>
#include <Zend/zend_types.h>
#include <php.h>
#include <stddef.h>
#include "_cgo_export.h"
#include "queue.h"
#include "queue_arginfo.h"
PHP_MINIT_FUNCTION(queue) { return SUCCESS; }
zend_module_entry queue_module_entry = {STANDARD_MODULE_HEADER,
"queue",
ext_functions, /* Functions */
PHP_MINIT(queue), /* MINIT */
NULL, /* MSHUTDOWN */
NULL, /* RINIT */
NULL, /* RSHUTDOWN */
NULL, /* MINFO */
"1.0.0", /* Version */
STANDARD_MODULE_PROPERTIES};
PHP_FUNCTION(frankenphp_queue) {
zval *data = NULL;
ZEND_PARSE_PARAMETERS_START(1, 1)
Z_PARAM_ZVAL(data)
ZEND_PARSE_PARAMETERS_END();
frankenphp_queue(data);
}