h2pas: "struct xyz *" not supported as return value
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
If a C function uses a "struct xyz *" as return value a syntax error is reported by h2pas. It works as a function parameter though.
Steps to reproduce:
struct foo {
int bar;
};
struct foo* FooFunc(void); // <= syntax error
void FooProc(struct foo* aFoo); // no error
Mantis conversion info:
- Mantis ID: 18435
- OS: Linux
- OS Build: 2.6.35
- Platform: i386
- Version: 2.5.1