Include Clownfish/Err.h in generated parcel.c

Needed for abstract method implementations.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/3561433d
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/3561433d
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/3561433d

Branch: refs/heads/master
Commit: 3561433db45bfbcf778f149c6864437202cb34b2
Parents: eea67db
Author: Nick Wellnhofer <[email protected]>
Authored: Wed May 20 12:15:50 2015 +0200
Committer: Nick Wellnhofer <[email protected]>
Committed: Wed May 20 14:12:21 2015 +0200

----------------------------------------------------------------------
 compiler/src/CFCBindCore.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/3561433d/compiler/src/CFCBindCore.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCBindCore.c b/compiler/src/CFCBindCore.c
index 01f4c76..43e25f0 100644
--- a/compiler/src/CFCBindCore.c
+++ b/compiler/src/CFCBindCore.c
@@ -509,6 +509,7 @@ S_write_parcel_c(CFCBindCore *self, CFCParcel *parcel) {
         "%s"
         "\n"
         "#include \"Clownfish/Class.h\"\n"   // Needed for bootstrap.
+        "#include \"Clownfish/Err.h\"\n"     // Needed for abstract methods.
         "%s\n"
         "\n"
         "%s\n"

Reply via email to