Created
November 20, 2009 15:50
-
-
Save fredreichbier/239571 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ooc test-mypackage.ooc | |
In file included from ooc_tmp/bugs/test-mypackage-fwd.h:11, | |
from ooc_tmp/bugs/test-mypackage.h:6, | |
from ooc_tmp/bugs/test-mypackage.c:2: | |
ooc_tmp/bugs/mypackage/mypackage-fwd.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
In file included from ooc_tmp/bugs/mypackage/mypackage.h:6, | |
from ooc_tmp/bugs/mypackage/mypackage.c:2: | |
ooc_tmp/bugs/mypackage/mypackage-fwd.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token | |
C compiler failed, aborting compilation process |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* mypackage.mypackage header file, generated with ooc */ | |
#ifndef ___mypackage_mypackage__fwd__ | |
#define ___mypackage_mypackage__fwd__ | |
typedef struct _mypackage__Cover1 mypackage__Cover1; | |
typedef Cover1 *mypackage__Cover2; | |
#include <sdk/lang/BasicTypes-fwd.h> | |
#include <sdk/lang/ooclib-fwd.h> | |
#include <sdk/lang/memory-fwd.h> | |
#include <sdk/lang/stdio-fwd.h> | |
lang__Class *Cover1_class(); | |
lang__Class *Cover2_class(); | |
#endif // ___mypackage_mypackage__fwd__ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cover1: cover { | |
} | |
Cover2: cover from Cover1* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mypackage/mypackage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment