-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRaggedArray.h
43 lines (35 loc) · 945 Bytes
/
RaggedArray.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef RAGGEDARRAY_H
#define RAGGEDARRAY_H
typedef struct {
float** p;
unsigned int* c;
unsigned int n;
} RaggedArray;
typedef struct {
unsigned int** p;
unsigned int* c;
unsigned int n;
} UIRaggedArray;
typedef struct {
char** p;
unsigned int* c;
unsigned int n;
} CRaggedArray;
typedef struct {
UIRaggedArray** p;
unsigned int* c;
unsigned int n;
} RARaggedArray;
RaggedArray InitRaggedArray( UIRaggedArray K );
UIRaggedArray InitUIRaggedArray( UIRaggedArray K );
CRaggedArray InitCRaggedArray( UIRaggedArray K );
void ResetUIRaggedArray( UIRaggedArray K );
void ResetCRaggedArray( CRaggedArray K );
void ResetRaggedArray( RaggedArray K );
void FreeUIRaggedArray( UIRaggedArray K );
void FreeRaggedArray( RaggedArray K );
void FreeCRaggedArray( CRaggedArray K );
RARaggedArray InitRARaggedArray( UIRaggedArray K );
void ResetRARaggedArray( RARaggedArray K );
void FreeRARaggedArray( RARaggedArray K );
#endif