Skip to content

Commit b601858

Browse files
committed
Revert "Add SwigType_isarraypointer function"
This reverts commit 71277f7f01a13de5591179f7660a9e78c1bbdb9d.
1 parent cea9dd2 commit b601858

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

Source/Swig/swig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ extern "C" {
157157
extern int SwigType_isreference_return(const SwigType *t);
158158
extern int SwigType_isrvalue_reference(const SwigType *t);
159159
extern int SwigType_isarray(const SwigType *t);
160-
extern int SwigType_isarraypointer(const SwigType *t);
161160
extern int SwigType_prefix_is_simple_1D_array(const SwigType *t);
162161
extern int SwigType_isfunction(const SwigType *t);
163162
extern int SwigType_isqualifier(const SwigType *t);

Source/Swig/typeobj.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -653,17 +653,6 @@ SwigType *SwigType_del_array(SwigType *t) {
653653
return t;
654654
}
655655

656-
int SwigType_isarraypointer(const SwigType *t) {
657-
char *c;
658-
if (!t)
659-
return 0;
660-
c = Char(t);
661-
if (strncmp(c, "p.a(", 4) == 0) {
662-
return 1;
663-
}
664-
return 0;
665-
}
666-
667656
int SwigType_isarray(const SwigType *t) {
668657
char *c;
669658
if (!t)

0 commit comments

Comments
 (0)