Tweak source whitespace to match SWIG conventions

This commit is contained in:
Olly Betts 2021-12-15 19:40:06 +13:00
commit 9ffa15b307
2 changed files with 68 additions and 69 deletions

View file

@ -153,6 +153,7 @@ INT_TYPEMAP(long long);
ZVAL_STRING($result, temp); ZVAL_STRING($result, temp);
} }
%} %}
INT_TYPEMAP(unsigned long long); INT_TYPEMAP(unsigned long long);
%typemap(argout,fragment="t_output_helper") unsigned long long *OUTPUT %typemap(argout,fragment="t_output_helper") unsigned long long *OUTPUT
{ {

View file

@ -984,7 +984,6 @@ public:
} }
bool is_setter_method(Node *n) { bool is_setter_method(Node *n) {
const char *p = GetChar(n, "sym:name"); const char *p = GetChar(n, "sym:name");
if (strlen(p) > 4) { if (strlen(p) > 4) {
p += strlen(p) - 4; p += strlen(p) - 4;
@ -996,7 +995,6 @@ public:
} }
bool is_getter_method(Node *n) { bool is_getter_method(Node *n) {
const char *p = GetChar(n, "sym:name"); const char *p = GetChar(n, "sym:name");
if (strlen(p) > 4) { if (strlen(p) > 4) {
p += strlen(p) - 4; p += strlen(p) - 4;