1 /*
2  * Copyright 2015-2017 MongoDB, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *   http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #include <php.h>
18 
19 #ifdef HAVE_CONFIG_H
20 #include "config.h"
21 #endif
22 
23 #include "phongo_compat.h"
24 #include "php_phongo.h"
25 
26 zend_class_entry* php_phongo_bulkwriteexception_ce;
27 
28 /* {{{ MongoDB\Driver\Exception\BulkWriteException function entries */
29 static zend_function_entry php_phongo_bulkwriteexception_me[] = {
30 	PHP_FE_END
31 };
32 /* }}} */
33 
php_phongo_bulkwriteexception_init_ce(INIT_FUNC_ARGS)34 void php_phongo_bulkwriteexception_init_ce(INIT_FUNC_ARGS) /* {{{ */
35 {
36 	zend_class_entry ce;
37 
38 	INIT_NS_CLASS_ENTRY(ce, "MongoDB\\Driver\\Exception", "BulkWriteException", php_phongo_bulkwriteexception_me);
39 	php_phongo_bulkwriteexception_ce = zend_register_internal_class_ex(&ce, php_phongo_writeexception_ce);
40 } /* }}} */
41 
42 /*
43  * Local variables:
44  * tab-width: 4
45  * c-basic-offset: 4
46  * End:
47  * vim600: noet sw=4 ts=4 fdm=marker
48  * vim<600: noet sw=4 ts=4
49  */
50