1 /** 2 * Copyright 2015-2017 DataStax, 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_driver.h" 18 #include "php_driver_types.h" 19 20 zend_class_entry *php_driver_overloaded_exception_ce = NULL; 21 22 static zend_function_entry OverloadedException_methods[] = { 23 PHP_FE_END 24 }; 25 php_driver_define_OverloadedException(TSRMLS_D)26void php_driver_define_OverloadedException(TSRMLS_D) 27 { 28 zend_class_entry ce; 29 30 INIT_CLASS_ENTRY(ce, PHP_DRIVER_NAMESPACE "\\Exception\\OverloadedException", OverloadedException_methods); 31 php_driver_overloaded_exception_ce = php5to7_zend_register_internal_class_ex(&ce, php_driver_server_exception_ce); 32 } 33