Author: logie
Date: Thu Oct 11 04:17:14 2012
New Revision: 1396901

URL: http://svn.apache.org/viewvc?rev=1396901&view=rev
Log:
Fixed calls to CFCBindCore_new and CFCHierachy_new to use new api

Modified:
    lucy/trunk/clownfish/compiler/ruby/ext/Clownfish/CFC.c

Modified: lucy/trunk/clownfish/compiler/ruby/ext/Clownfish/CFC.c
URL: 
http://svn.apache.org/viewvc/lucy/trunk/clownfish/compiler/ruby/ext/Clownfish/CFC.c?rev=1396901&r1=1396900&r2=1396901&view=diff
==============================================================================
--- lucy/trunk/clownfish/compiler/ruby/ext/Clownfish/CFC.c (original)
+++ lucy/trunk/clownfish/compiler/ruby/ext/Clownfish/CFC.c Thu Oct 11 04:17:14 
2012
@@ -39,7 +39,7 @@ S_CFC_Binding_Core_Init(VALUE self_rb, V
     Data_Get_Struct(hierarchy,CFCHierarchy,hierarchy_obj);
     Data_Get_Struct(self_rb, CFCBindCore, self);
 
-    self = CFCBindCore_new(hierarchy_obj,StringValuePtr(dest), 
StringValuePtr(header), StringValuePtr(footer));
+    self = CFCBindCore_new(hierarchy_obj, StringValuePtr(header), 
StringValuePtr(footer));
 
     DATA_PTR(self_rb) = self;
     return self_rb;
@@ -73,12 +73,12 @@ S_CFC_Hierarchy_Alloc(VALUE klass) {
 }
 
 static VALUE
-S_CFC_Hierarchy_Init(VALUE self_rb, VALUE source, VALUE dest) {
+S_CFC_Hierarchy_Init(VALUE self_rb, VALUE dest) {
     CFCHierarchy* self;
 
     Data_Get_Struct(self_rb,CFCHierarchy, self);
 
-    self = CFCHierarchy_new(StringValuePtr(source), StringValuePtr(dest));
+    self = CFCHierarchy_new(StringValuePtr(dest));
 
     DATA_PTR(self_rb) = self;
     return self_rb;


Reply via email to