lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r925445 - in /lucene/lucy/trunk/core/Lucy/Object: VTable.bp VTable.c
Date Fri, 19 Mar 2010 21:43:07 GMT
Author: marvin
Date: Fri Mar 19 21:43:07 2010
New Revision: 925445

URL: http://svn.apache.org/viewvc?rev=925445&view=rev
Log:
Add a getter for obj_alloc_size to VTable.

Modified:
    lucene/lucy/trunk/core/Lucy/Object/VTable.bp
    lucene/lucy/trunk/core/Lucy/Object/VTable.c

Modified: lucene/lucy/trunk/core/Lucy/Object/VTable.bp
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/core/Lucy/Object/VTable.bp?rev=925445&r1=925444&r2=925445&view=diff
==============================================================================
--- lucene/lucy/trunk/core/Lucy/Object/VTable.bp (original)
+++ lucene/lucy/trunk/core/Lucy/Object/VTable.bp Fri Mar 19 21:43:07 2010
@@ -96,6 +96,9 @@ class Lucy::Object::VTable extends Lucy:
 
     VTable*
     Get_Parent(VTable *self);
+
+    size_t
+    Get_Obj_Alloc_Size(VTable *self);
     
     public incremented VTable* 
     Clone(VTable *self);

Modified: lucene/lucy/trunk/core/Lucy/Object/VTable.c
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/core/Lucy/Object/VTable.c?rev=925445&r1=925444&r2=925445&view=diff
==============================================================================
--- lucene/lucy/trunk/core/Lucy/Object/VTable.c (original)
+++ lucene/lucy/trunk/core/Lucy/Object/VTable.c Fri Mar 19 21:43:07 2010
@@ -87,6 +87,8 @@ CharBuf*
 VTable_get_name(VTable *self)   { return self->name; }
 VTable*
 VTable_get_parent(VTable *self) { return self->parent; }
+size_t
+VTable_get_obj_alloc_size(VTable *self) { return self->obj_alloc_size; }
 
 void
 VTable_init_registry()



Mime
View raw message