-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlinger_bootstrap.c
More file actions
45 lines (39 loc) · 1.75 KB
/
linger_bootstrap.c
File metadata and controls
45 lines (39 loc) · 1.75 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
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
+----------------------------------------------------------------------+
| linger_framework |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: liubang <it.liubang@gmail.com> |
+----------------------------------------------------------------------+
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php.h"
#include "php_linger_framework.h"
#if PHP_MAJOR_VERSION > 7
#include "linger_bootstrap_arginfo.h"
#else
#include "linger_bootstrap_legacy_arginfo.h"
#endif
zend_class_entry *bootstrap_ce;
zend_function_entry linger_bootstrap_methods[] = {
PHP_ABSTRACT_ME(linger_framework_bootstrap, bootstrap, arginfo_class_Linger_Framework_Bootstrap_bootstrap)
PHP_FE_END
};
LINGER_MINIT_FUNCTION(bootstrap)
{
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "Linger\\Framework\\Bootstrap", linger_bootstrap_methods);
bootstrap_ce = zend_register_internal_interface(&ce);
return SUCCESS;
}