aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/array.h')
-rw-r--r--src/include/utils/array.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/include/utils/array.h b/src/include/utils/array.h
index b8116065d4b..d09330e92ab 100644
--- a/src/include/utils/array.h
+++ b/src/include/utils/array.h
@@ -10,7 +10,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: array.h,v 1.7 1997/09/08 20:59:18 momjian Exp $
+ * $Id: array.h,v 1.8 1997/09/08 21:54:49 momjian Exp $
*
* NOTES
* XXX the data array should be LONGALIGN'd -- notice that the array
@@ -109,27 +109,27 @@ typedef struct
{
char lo_name[NAME_LEN];
int C[MAXDIM];
-} CHUNK_INFO;
+} CHUNK_INFO;
/*
* prototypes for functions defined in arrayfuncs.c
*/
extern char *array_in(char *string, Oid element_type);
extern char *array_out(ArrayType *v, Oid element_type);
-extern char *array_dims(ArrayType *v, bool * isNull);
-extern Datum
+extern char *array_dims(ArrayType *v, bool *isNull);
+extern Datum
array_ref(ArrayType *array, int n, int indx[], int reftype,
- int elmlen, int arraylen, bool * isNull);
-extern Datum
+ int elmlen, int arraylen, bool *isNull);
+extern Datum
array_clip(ArrayType *array, int n, int upperIndx[],
- int lowerIndx[], int reftype, int len, bool * isNull);
+ int lowerIndx[], int reftype, int len, bool *isNull);
extern char *
array_set(ArrayType *array, int n, int indx[], char *dataPtr,
- int reftype, int elmlen, int arraylen, bool * isNull);
+ int reftype, int elmlen, int arraylen, bool *isNull);
extern char *
array_assgn(ArrayType *array, int n, int upperIndx[],
int lowerIndx[], ArrayType *newArr, int reftype,
- int len, bool * isNull);
+ int len, bool *isNull);
extern int array_eq(ArrayType *array1, ArrayType *array2);
extern int
_LOtransfer(char **destfd, int size, int nitems, char **srcfd,
@@ -157,14 +157,14 @@ extern int next_tuple(int n, int curr[], int span[]);
* prototypes for functions defined in chunk.c
*/
extern char *
-_ChunkArray(int fd, FILE * afd, int ndim, int dim[], int baseSize,
+_ChunkArray(int fd, FILE *afd, int ndim, int dim[], int baseSize,
int *nbytes, char *chunkfile);
extern int
_ReadChunkArray(int st[], int endp[], int bsize, int fp,
- char *destfp, ArrayType *array, int isDestLO, bool * isNull);
+ char *destfp, ArrayType *array, int isDestLO, bool *isNull);
extern struct varlena *
_ReadChunkArray1El(int st[], int bsize, int fp,
- ArrayType *array, bool * isNull);
+ ArrayType *array, bool *isNull);
#endif /* ARRAY_H */