summaryrefslogtreecommitdiff
path: root/mysys/mulalloc.c
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2003-01-21 19:24:34 +0100
committerserg@serg.mysql.com <>2003-01-21 19:24:34 +0100
commit0dff67cba243fa260bf901c443c7abaaa68567a9 (patch)
tree2c7d9d1b4d148a8335c0f806f6c7bc3dcab8e3ce /mysys/mulalloc.c
parent241f4143e87682942e90ac97b9965f2c77b107b2 (diff)
downloadmariadb-git-0dff67cba243fa260bf901c443c7abaaa68567a9.tar.gz
Two-level index structure for FULLTEXT indexes
Diffstat (limited to 'mysys/mulalloc.c')
-rw-r--r--mysys/mulalloc.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/mysys/mulalloc.c b/mysys/mulalloc.c
index 6b025bca699..e1eb1c00602 100644
--- a/mysys/mulalloc.c
+++ b/mysys/mulalloc.c
@@ -19,16 +19,18 @@
/*
Malloc many pointers at the same time
+ Only ptr1 can be free'd, and doing this will free all
+ the memory allocated. ptr2, etc all point inside big allocated
+ memory area.
SYNOPSIS
my_multi_malloc()
- myFlags Flags
- ... Multiple arguments terminated by null ptr
-
- ptr, length
- ptr, length
+ myFlags Flags
+ ptr1, length1 Multiple arguments terminated by null ptr
+ ptr2, length2 ...
+ ...
NULL
-*/
+*/
gptr my_multi_malloc(myf myFlags, ...)
{