You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by lo...@apache.org on 2012/01/07 00:08:28 UTC
[lucy-commits] svn commit: r1228496 -
/incubator/lucy/trunk/clownfish/ruby/ext/Clownfish/CFC.c
Author: logie
Date: Fri Jan 6 23:08:27 2012
New Revision: 1228496
URL: http://svn.apache.org/viewvc?rev=1228496&view=rev
Log:
LUCY-202
1. Made cfc_hiearchy_build return Qnil.
2. Updated global class/modules to be static.
Modified:
incubator/lucy/trunk/clownfish/ruby/ext/Clownfish/CFC.c
Modified: incubator/lucy/trunk/clownfish/ruby/ext/Clownfish/CFC.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/ruby/ext/Clownfish/CFC.c?rev=1228496&r1=1228495&r2=1228496&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/ruby/ext/Clownfish/CFC.c (original)
+++ incubator/lucy/trunk/clownfish/ruby/ext/Clownfish/CFC.c Fri Jan 6 23:08:27 2012
@@ -17,9 +17,9 @@
#include "ruby.h"
#include "CFC.h"
-VALUE mClownfish;
-VALUE mCFC;
-VALUE cHierarchy;
+static VALUE mClownfish;
+static VALUE mCFC;
+static VALUE cHierarchy;
static VALUE cfc_hierarchy_alloc(VALUE klass) {
CFCHierarchy *self = CFCHierarchy_allocate();
@@ -46,6 +46,8 @@ static VALUE cfc_hierarchy_build(VALUE s
Data_Get_Struct(self_rb, CFCHierarchy, self);
CFCHierarchy_build(self);
+
+ return Qnil;
}
void Init_CFC() {