Make lucy_bootstrap_parcel visible

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

Branch: refs/heads/chaz-cflags
Commit: 01ecac1288ac0caf81bc8140eb186fd24e0f68b6
Parents: ddf4042
Author: Nick Wellnhofer <[email protected]>
Authored: Wed Apr 3 22:45:43 2013 +0200
Committer: Nick Wellnhofer <[email protected]>
Committed: Wed Apr 3 22:45:43 2013 +0200

----------------------------------------------------------------------
 clownfish/compiler/src/CFCBindCore.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/01ecac12/clownfish/compiler/src/CFCBindCore.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCBindCore.c 
b/clownfish/compiler/src/CFCBindCore.c
index 2512750..3d3cc74 100644
--- a/clownfish/compiler/src/CFCBindCore.c
+++ b/clownfish/compiler/src/CFCBindCore.c
@@ -241,7 +241,7 @@ S_write_parcel_h(CFCBindCore *self) {
         "  #define VTableSpec               cfish_VTableSpec\n"
         "#endif\n"
         "\n"
-        "void\n"
+        "%sVISIBLE void\n"
         "%sbootstrap_parcel();\n"
         "\n"
         "void\n"
@@ -257,7 +257,7 @@ S_write_parcel_h(CFCBindCore *self) {
         "\n";
     char *file_content
         = CFCUtil_sprintf(pattern, self->header, aliases, typedefs, PREFIX,
-                          prefix, prefix, self->footer);
+                          PREFIX, prefix, prefix, self->footer);
 
     // Unlink then write file.
     const char *inc_dest = CFCHierarchy_get_include_dest(hierarchy);

Reply via email to