projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
50da1a2
)
code style
author
Arnaud Le Blanc
<arnaud.lb@gmail.com>
Sat, 10 Dec 2011 13:49:52 +0000 (14:49 +0100)
committer
Arnaud Le Blanc
<arnaud.lb@gmail.com>
Sat, 10 Dec 2011 13:49:52 +0000 (14:49 +0100)
ext/twig/twig.c
patch
|
blob
|
history
diff --git
a/ext/twig/twig.c
b/ext/twig/twig.c
index
90f87cd
..
3031f18
100644
(file)
--- a/
ext/twig/twig.c
+++ b/
ext/twig/twig.c
@@
-622,7
+622,7
@@
static int twig_add_method_to_class(void *pDest TSRMLS_DC, int num_args, va_list
size_t item_len;
zend_function *mptr = (zend_function *) pDest;
- if ( ! (mptr->common.fn_flags & ZEND_ACC_PUBLIC ) ) {
+ if (!(mptr->common.fn_flags & ZEND_ACC_PUBLIC)) {
return 0;
}
@@
-644,7
+644,7
@@
static int twig_add_property_to_class(void *pDest TSRMLS_DC, int num_args, va_li
char *class_name, *prop_name;
zend_property_info *pptr = (zend_property_info *) pDest;
- if ( ! (pptr->flags & ZEND_ACC_PUBLIC ) ) {
+ if (!(pptr->flags & ZEND_ACC_PUBLIC)) {
return 0;
}