aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-04-07 17:40:59 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-04-07 17:40:59 -0500
commit4ccde62d4f3ed699832c845fde83598027820d8e (patch)
treecc2964349fd045dc780991809d583ff1e45a95ff /tests/include
parent4c513a50de64d7675b652e08deeb4c7c0db4124a (diff)
downloadnimterop-4ccde62d4f3ed699832c845fde83598027820d8e.tar.gz
nimterop-4ccde62d4f3ed699832c845fde83598027820d8e.zip
ast2 fix issue 156 - abstract function pointer
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/tast2.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h
index 75e9446..348e225 100644
--- a/tests/include/tast2.h
+++ b/tests/include/tast2.h
@@ -123,6 +123,17 @@ typedef MagickBooleanType
const int,void *),
(*UpdateImageViewMethod)(ImageView *,const size_t,const int,void *);
+// Issue #156, math.h
+void
+ *absfunptr1 (int (*)(struct A0 *)),
+ **absfunptr2 (int (**)(struct A1 *)),
+ absfunptr3 (int *(*)(struct A2 *)),
+ *absfunptr4 (int *(**)(struct A3 *)),
+ absfunptr5 (int (*a)(A4 *));
+
+int sqlite3_bind_blob(struct A1*, int, const void*, int n, void(*)(void*));
+
+
@@ -241,6 +252,7 @@ void
(*pcre_free)(void *),
*(*pcre_stack_malloc)(size_t);
+typedef int ImageView, MagickBooleanType;
typedef MagickBooleanType
(*DuplexTransferImageViewMethod)(const ImageView *,const ImageView *,
ImageView *,const size_t,const int,void *),
@@ -250,6 +262,18 @@ typedef MagickBooleanType
const int,void *),
(*UpdateImageViewMethod)(ImageView *,const size_t,const int,void *);
+// Issue #156, math.h
+void
+ *absfunptr1 (int (*)(struct A0 *)),
+ **absfunptr2 (int (**)(struct A1 *)),
+ absfunptr3 (int *(*)(struct A2 *)),
+ *absfunptr4 (int *(**)(struct A3 *)),
+ absfunptr5 (int (*a)(A4 *));
+
+int sqlite3_bind_blob(struct A1*, int, const void*, int n, void(*)(void*));
+
+
+
#endif