Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace ALL THE MODULES! #1

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions php_inspector.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
*/
PHP_MINIT_FUNCTION(inspector)
{
PHP_MINIT(scope)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(file)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(global)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(method)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(closure)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(opline)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(operand)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(entry)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(inspector_scope)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(inspector_file)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(inspector_global)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(inspector_method)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(inspector_closure)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(inspector_opline)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(inspector_operand)(INIT_FUNC_ARGS_PASSTHRU);
PHP_MINIT(inspector_entry)(INIT_FUNC_ARGS_PASSTHRU);

return SUCCESS;
}
Expand Down
2 changes: 1 addition & 1 deletion src/closure.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static zend_function_entry php_inspector_closure_methods[] = {
PHP_FE_END
};

PHP_MINIT_FUNCTION(closure) {
PHP_MINIT_FUNCTION(inspector_closure) {
zend_class_entry ce;

INIT_NS_CLASS_ENTRY(ce, "Inspector", "Closure", php_inspector_closure_methods);
Expand Down
2 changes: 1 addition & 1 deletion src/closure.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@

extern zend_class_entry *php_inspector_closure_ce;

PHP_MINIT_FUNCTION(closure);
PHP_MINIT_FUNCTION(inspector_closure);
#endif
2 changes: 1 addition & 1 deletion src/entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static zend_function_entry php_inspector_entry_methods[] = {
}; /* }}} */

/* {{{ */
PHP_MINIT_FUNCTION(entry) {
PHP_MINIT_FUNCTION(inspector_entry) {
zend_class_entry ce;

INIT_NS_CLASS_ENTRY(ce, "Inspector", "Entry", php_inspector_entry_methods);
Expand Down
2 changes: 1 addition & 1 deletion src/entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ extern zend_class_entry *php_inspector_entry_ce;
#define php_inspector_entry_fetch(z) php_inspector_entry_fetch_from(Z_OBJ_P(z))
#define php_inspector_entry_this() php_inspector_entry_fetch(getThis())

PHP_MINIT_FUNCTION(entry);
PHP_MINIT_FUNCTION(inspector_entry);
#endif
2 changes: 1 addition & 1 deletion src/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static zend_function_entry php_inspector_file_methods[] = {
PHP_FE_END
};

PHP_MINIT_FUNCTION(file) {
PHP_MINIT_FUNCTION(inspector_file) {
zend_class_entry ce;

INIT_NS_CLASS_ENTRY(ce, "Inspector", "File", php_inspector_file_methods);
Expand Down
2 changes: 1 addition & 1 deletion src/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@

extern zend_class_entry *php_inspector_file_ce;

PHP_MINIT_FUNCTION(file);
PHP_MINIT_FUNCTION(inspector_file);
#endif
2 changes: 1 addition & 1 deletion src/global.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static zend_function_entry php_inspector_global_methods[] = {
PHP_FE_END
};

PHP_MINIT_FUNCTION(global) {
PHP_MINIT_FUNCTION(inspector_global) {
zend_class_entry ce;

INIT_NS_CLASS_ENTRY(ce, "Inspector", "Global", php_inspector_global_methods);
Expand Down
2 changes: 1 addition & 1 deletion src/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@

extern zend_class_entry *php_inspector_global_ce;

PHP_MINIT_FUNCTION(global);
PHP_MINIT_FUNCTION(inspector_global);
#endif
2 changes: 1 addition & 1 deletion src/method.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static zend_function_entry php_inspector_method_methods[] = {
PHP_FE_END
};

PHP_MINIT_FUNCTION(method) {
PHP_MINIT_FUNCTION(inspector_method) {
zend_class_entry ce;

INIT_NS_CLASS_ENTRY(ce, "Inspector", "Method", php_inspector_method_methods);
Expand Down
2 changes: 1 addition & 1 deletion src/method.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@

extern zend_class_entry *php_inspector_method_ce;

PHP_MINIT_FUNCTION(method);
PHP_MINIT_FUNCTION(inspector_method);
#endif
2 changes: 1 addition & 1 deletion src/operand.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ static zend_function_entry php_inspector_operand_methods[] = {
}; /* }}} */

/* {{{ */
PHP_MINIT_FUNCTION(operand) {
PHP_MINIT_FUNCTION(inspector_operand) {
zend_class_entry ce;

INIT_NS_CLASS_ENTRY(ce, "Inspector", "Operand", php_inspector_operand_methods);
Expand Down
2 changes: 1 addition & 1 deletion src/operand.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ extern zend_class_entry *php_inspector_operand_ce;

void php_inspector_operand_construct(zval *object, zval *opline, uint32_t which, zend_uchar type, znode_op *operand);

PHP_MINIT_FUNCTION(operand);
PHP_MINIT_FUNCTION(inspector_operand);
#endif
2 changes: 1 addition & 1 deletion src/opline.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ static zend_function_entry php_inspector_opline_methods[] = {
}; /* }}} */

/* {{{ */
PHP_MINIT_FUNCTION(opline) {
PHP_MINIT_FUNCTION(inspector_opline) {
zend_class_entry ce;

INIT_NS_CLASS_ENTRY(ce, "Inspector", "Opline", php_inspector_opline_methods);
Expand Down
2 changes: 1 addition & 1 deletion src/opline.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ extern zend_class_entry *php_inspector_opline_ce;

void php_inspector_opline_construct(zval *object, zval *scope, zend_op *opline);

PHP_MINIT_FUNCTION(opline);
PHP_MINIT_FUNCTION(inspector_opline);
#endif
2 changes: 1 addition & 1 deletion src/scope.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ static zend_function_entry php_inspector_scope_methods[] = {
}; /* }}} */

/* {{{ */
PHP_MINIT_FUNCTION(scope) {
PHP_MINIT_FUNCTION(inspector_scope) {
zend_class_entry ce;

INIT_NS_CLASS_ENTRY(ce, "Inspector", "Scope", php_inspector_scope_methods);
Expand Down
2 changes: 1 addition & 1 deletion src/scope.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ extern zend_class_entry *php_inspector_scope_ce;
void php_inspector_scope_construct(zval *object, zend_function *function);
zend_function* php_inspector_scope_find(zend_class_entry *scope, zend_string *name);

PHP_MINIT_FUNCTION(scope);
PHP_MINIT_FUNCTION(inspector_scope);
#endif