From 46cae873fa2bd7973aa2e98d5955d2287822c604 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Fri, 20 May 2016 21:41:54 +0000 Subject: Array: add array_alloc_tmps_* --- doc/libinum-doc.php | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'doc/libinum-doc.php') diff --git a/doc/libinum-doc.php b/doc/libinum-doc.php index 2daf429..d140ab2 100644 --- a/doc/libinum-doc.php +++ b/doc/libinum-doc.php @@ -76,10 +76,10 @@ -

libinum v1.0

+

libinum v1.0.1

- This is the official documentation for libinum, version 1.0. + This is the official documentation for libinum, version 1.0.1.

Table of contents

@@ -839,6 +839,22 @@ copy input to the array pointed to by output. Does not initialize *output, so *output must be initialized ahead of time, and its memory must be larger or equal to the length of input. Returns LIBINUM_ERROR_SIZE_MISMATCH if the memory of *output is smaller than the length of input.
+
  • + + int array_${TYPENAME}_alloc_tmps(unsigned int n, array_${TYPENAME}* array) + + "); + } + ?> +
    + Ensure that *array has at least n allocated values. If it has fewer, then allocate as many as needed. +
  • +