Debian Codegraph @

arrays.h

raw symbols SCIP
1 /* These are the function prototypes for arrays.c */
2
3
4 /* Functions defined in this module, see header comments on each one
5 for more details: */
6
7 #ifndef _INC_ARRAYS_
8
9 void* pack1D(SV* arg, char packtype); /* Pack perl 1D array */
10 void* pack2D(SV* arg, char packtype); /* Pack perl 1-2D array */
11 void* packND(SV* arg, char packtype); /* Pack perl array N-D array */
12 void unpack1D(SV* arg, void * var, /* Unpack 1D array */
13 char packtype, int n);
14
15 AV* coerce1D ( SV* arg, int n ); /* Coerce/create array to specified size */
16
17 void* get_mortalspace( int n, char packtype ); /* Utility to just get workspace */
18
19
20 /* Sort out macro name changes in 5.004_53 (PATCHLEVEL < 5)
21 Note that recent Perl versions don't define PATCHLEVEL by default */
22
23 #ifndef PATCHLEVEL
24 #include <patchlevel.h>
25 #endif
26
27 #if defined(PATCHLEVEL) && (PATCHLEVEL < 5)
28 #define PL_na na
29 #endif
30 /* Prevent the prototypes being defined twice */
31
32 #define _INC_ARRAYS_
33
34 #endif