source:
CIVL/examples/modelbuilder/file_scope_extern4_lib.h@
7e36dd5
| Last change on this file since 7e36dd5 was bfb3278, checked in by , 8 years ago | |
|---|---|
|
|
| File size: 192 bytes | |
| Rev | Line | |
|---|---|---|
| [bfb3278] | 1 | //typedef struct type Type; |
| 2 | ||
| 3 | enum SubEnum {one, two}; | |
| 4 | ||
| 5 | typedef struct subtype { | |
| 6 | enum SubEnum w; | |
| 7 | double z; | |
| 8 | } SubType; | |
| 9 | ||
| 10 | typedef struct type { | |
| 11 | SubType x; | |
| 12 | int y; | |
| 13 | } Type; | |
| 14 | ||
| 15 | int value(Type t); |
Note:
See TracBrowser
for help on using the repository browser.
