Revision: 14714
Author: adrian.chadd
Date: Fri Jun 18 18:17:13 2010
Log: For now, only use the slow-but-bounds-checked versions


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

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

=======================================
--- /branches/LUSCA_HEAD/include/Vector.h       Tue Sep 15 22:10:50 2009
+++ /branches/LUSCA_HEAD/include/Vector.h       Fri Jun 18 18:17:13 2010
@@ -12,8 +12,8 @@

 void vector_init(vector_t *v, int obj_size, int obj_count);
 void vector_done(vector_t *v);
-void * vector_get_real(const vector_t *v, int offset);
-static inline void * vector_get(const vector_t *v, int offset) { return ((char *) v->data + (v->obj_size * offset)); }
+void * vector_get(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);
 int vector_copy_item(vector_t *v, int dst, int src);

--
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