add test for $descriptor() macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
25bcb4d5e6
commit
096aaddfcf
1 changed files with 8 additions and 0 deletions
|
|
@ -50,6 +50,14 @@
|
||||||
(void)stardesc;
|
(void)stardesc;
|
||||||
(void)ampdesc;
|
(void)ampdesc;
|
||||||
}
|
}
|
||||||
|
{ /* Test descriptor macro */
|
||||||
|
void *desc = $descriptor(const struct xyzzy **);
|
||||||
|
void *stardesc = $descriptor(const struct xyzzy *);
|
||||||
|
void *ampdesc = $descriptor(const struct xyzzy ***);
|
||||||
|
(void)desc;
|
||||||
|
(void)stardesc;
|
||||||
|
(void)ampdesc;
|
||||||
|
}
|
||||||
$1 = ($ltype) temp;
|
$1 = ($ltype) temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue