You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2010/12/08 03:26:05 UTC

[lucy-commits] svn commit: r1043283 - in /incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core: Class.pm File.pm

Author: marvin
Date: Wed Dec  8 02:26:05 2010
New Revision: 1043283

URL: http://svn.apache.org/viewvc?rev=1043283&view=rev
Log:
Remove a temporary hack which is no longer needed.

Modified:
    incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm
    incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/File.pm

Modified: incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm?rev=1043283&r1=1043282&r2=1043283&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm (original)
+++ incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/Class.pm Wed Dec  8 02:26:05 2010
@@ -135,9 +135,6 @@ sub to_c_header {
     my $c_file_sym    = "C_" . uc($full_struct);
     my $struct_def    = _struct_definition($self);
     
-    # Temporary hack.
-    $c_file_sym =~ s/LUCY_/LUCY_/g;
-
     # If class inherits from something, include the parent class's header.
     my $parent_include = "";
     if ( my $parent = $client->get_parent ) {

Modified: incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/File.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/File.pm?rev=1043283&r1=1043282&r2=1043283&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/File.pm (original)
+++ incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Core/File.pm Wed Dec  8 02:26:05 2010
@@ -125,7 +125,6 @@ sub write_c {
                     );
                 $content .= $bound->to_c . "\n";
                 my $c_file_sym = "C_" . uc( $block->full_struct_sym );
-
                 $c_file_syms .= "#define $c_file_sym\n";
             }
         }