Double pointer support
This commit is contained in:
parent
28e2d7bb87
commit
454403b9fe
7 changed files with 111 additions and 32 deletions
|
|
@ -60,6 +60,10 @@ void *test_call9() {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void **test_call10(int **param1) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void multiline1(void) {}
|
||||
|
||||
void *multiline2(void) {
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ unsigned char test_call_param6(UNION2 param1);
|
|||
int test_call_param7(union UNION1 param1);
|
||||
float test_call_param8(int *param1);
|
||||
void *test_call9();
|
||||
void **test_call10(int **param1);
|
||||
|
||||
// Issue #58
|
||||
void
|
||||
|
|
@ -131,6 +132,20 @@ UNION3 test_call_etype_ptr3();
|
|||
|
||||
typedef struct _Kernel { char name; } *Kernel;
|
||||
|
||||
// Double pointers
|
||||
typedef void **DVOIDPTR;
|
||||
typedef int **DINTPTR;
|
||||
|
||||
struct dstruct {
|
||||
int **field1;
|
||||
};
|
||||
|
||||
typedef struct dstruct2 {
|
||||
char **field1;
|
||||
float **field2;
|
||||
void **(*tcv)(int **param1);
|
||||
} DSTRUCT2;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue