Author: logie
Date: Mon Jan  9 04:39:56 2012
New Revision: 1229026

URL: http://svn.apache.org/viewvc?rev=1229026&view=rev
Log:
LUCY-202
Removed explicit allocate functions - after further review it
was determined this would not be needed for ruby binding functionality.

Modified:
    incubator/lucy/trunk/clownfish/src/CFCBindCore.c
    incubator/lucy/trunk/clownfish/src/CFCBindCore.h
    incubator/lucy/trunk/clownfish/src/CFCHierarchy.c
    incubator/lucy/trunk/clownfish/src/CFCHierarchy.h

Modified: incubator/lucy/trunk/clownfish/src/CFCBindCore.c
URL: 
http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCBindCore.c?rev=1229026&r1=1229025&r2=1229026&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCBindCore.c (original)
+++ incubator/lucy/trunk/clownfish/src/CFCBindCore.c Mon Jan  9 04:39:56 2012
@@ -54,14 +54,9 @@ const static CFCMeta CFCBINDCORE_META = 
 };
 
 CFCBindCore*
-CFCBindCore_allocate() {
-    return (CFCBindCore*)CFCBase_allocate(&CFCBINDCORE_META);
-}
-
-CFCBindCore*
 CFCBindCore_new(CFCHierarchy *hierarchy, const char *dest, const char *header,
                 const char *footer) {
-    CFCBindCore *self = CFCBindCore_allocate();
+    CFCBindCore *self = (CFCBindCore*)CFCBase_allocate(&CFCBINDCORE_META);
     return CFCBindCore_init(self, hierarchy, dest, header, footer);
 }
 

Modified: incubator/lucy/trunk/clownfish/src/CFCBindCore.h
URL: 
http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCBindCore.h?rev=1229026&r1=1229025&r2=1229026&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCBindCore.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCBindCore.h Mon Jan  9 04:39:56 2012
@@ -41,9 +41,6 @@ struct CFCHierarchy;
  * typically copyright information.
  */
 CFCBindCore*
-CFCBindCore_allocate();
-
-CFCBindCore*
 CFCBindCore_new(struct CFCHierarchy *hierarchy, const char *dest,
                 const char *header, const char *footer);
 

Modified: incubator/lucy/trunk/clownfish/src/CFCHierarchy.c
URL: 
http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCHierarchy.c?rev=1229026&r1=1229025&r2=1229026&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCHierarchy.c (original)
+++ incubator/lucy/trunk/clownfish/src/CFCHierarchy.c Mon Jan  9 04:39:56 2012
@@ -69,13 +69,8 @@ const static CFCMeta CFCHIERARCHY_META =
 };
 
 CFCHierarchy*
-CFCHierarchy_allocate() {
-    return (CFCHierarchy*)CFCBase_allocate(&CFCHIERARCHY_META);
-}
-
-CFCHierarchy*
 CFCHierarchy_new(const char *source, const char *dest) {
-    CFCHierarchy *self = CFCHierarchy_allocate();
+    CFCHierarchy *self = (CFCHierarchy*)CFCBase_allocate(&CFCHIERARCHY_META);
     return CFCHierarchy_init(self, source, dest);
 }
 

Modified: incubator/lucy/trunk/clownfish/src/CFCHierarchy.h
URL: 
http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCHierarchy.h?rev=1229026&r1=1229025&r2=1229026&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCHierarchy.h (original)
+++ incubator/lucy/trunk/clownfish/src/CFCHierarchy.h Mon Jan  9 04:39:56 2012
@@ -40,9 +40,6 @@ struct CFCFile;
  * @param dest The directory where the autogenerated files will be written.
  */
 CFCHierarchy*
-CFCHierarchy_allocate();
-
-CFCHierarchy*
 CFCHierarchy_new(const char *source, const char *dest);
 
 CFCHierarchy*


Reply via email to