summaryrefslogtreecommitdiffstats
path: root/src/misc/vec/vecFlt.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-08-08 18:23:00 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-08-08 18:23:00 -0700
commit881b2ec46f0519cbab41ba51245b3de949fdbee9 (patch)
treefaa822cf70c81f4d55c1d36fb5335cc396e4922a /src/misc/vec/vecFlt.h
parent655dc4e727e2c4e74cc511f343007cee5b8e35b6 (diff)
downloadabc-881b2ec46f0519cbab41ba51245b3de949fdbee9.tar.gz
abc-881b2ec46f0519cbab41ba51245b3de949fdbee9.tar.bz2
abc-881b2ec46f0519cbab41ba51245b3de949fdbee9.zip
Integrated buffering and sizing.
Diffstat (limited to 'src/misc/vec/vecFlt.h')
-rw-r--r--src/misc/vec/vecFlt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/misc/vec/vecFlt.h b/src/misc/vec/vecFlt.h
index 43e34217..9eb13962 100644
--- a/src/misc/vec/vecFlt.h
+++ b/src/misc/vec/vecFlt.h
@@ -336,6 +336,11 @@ static inline float Vec_FltEntry( Vec_Flt_t * p, int i )
assert( i >= 0 && i < p->nSize );
return p->pArray[i];
}
+static inline float * Vec_FltEntryP( Vec_Flt_t * p, int i )
+{
+ assert( i >= 0 && i < p->nSize );
+ return p->pArray + i;
+}
/**Function*************************************************************