mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-11 23:26:55 +08:00
Added comment [skip ci]
This commit is contained in:
@@ -271,6 +271,8 @@ typedef IvfflatScanOpaqueData * IvfflatScanOpaque;
|
|||||||
|
|
||||||
#define VECTOR_ARRAY_SIZE(_length, _size) (sizeof(VectorArrayData) + (_length) * MAXALIGN(_size))
|
#define VECTOR_ARRAY_SIZE(_length, _size) (sizeof(VectorArrayData) + (_length) * MAXALIGN(_size))
|
||||||
|
|
||||||
|
/* Use functions instead of macros to avoid double evaluation */
|
||||||
|
|
||||||
static inline Pointer
|
static inline Pointer
|
||||||
VectorArrayGet(VectorArray arr, int offset)
|
VectorArrayGet(VectorArray arr, int offset)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user