Revision: 14760
Author: adrian.chadd
Date: Mon Aug 23 20:12:49 2010
Log: Just in case.


http://code.google.com/p/lusca-cache/source/detail?r=14760

Modified:
 /branches/LUSCA_HEAD/include/Vector.h

=======================================
--- /branches/LUSCA_HEAD/include/Vector.h       Fri Jun 18 18:17:13 2010
+++ /branches/LUSCA_HEAD/include/Vector.h       Mon Aug 23 20:12:49 2010
@@ -13,6 +13,8 @@
 void vector_init(vector_t *v, int obj_size, int obj_count);
 void vector_done(vector_t *v);
 void * vector_get(const vector_t *v, int offset);
+#define        vector_get      vector_get_real
+void * vector_get_real(const vector_t *v, int offset);
static inline void * vector_get_fast(const vector_t *v, int offset) { return ((char *) v->data + (v->obj_size * offset)); }
 void * vector_append(vector_t *v);
 void * vector_insert(vector_t *v, int position);

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to