Debian Codegraph @

common/vector_proc.h

raw symbols SCIP
1 /* Copyright 2012 Kjetil S. Matheussen
2
3 This program is free software; you can redistribute it and/or
4 modify it under the terms of the GNU General Public License
5 as published by the Free Software Foundation; either version 2
6 of the License, or (at your option) any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
16
17 #ifndef VECTOR_PROC_H
18 #define VECTOR_PROC_Hcxx . . $ `common/vector_proc.h:18:9`!
19
20 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void VECTOR_push_back(vector_tcxx . . $ vector_t# *v, const void *element);
21 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void VECTOR_reverse(vector_tcxx . . $ vector_t# *v);
22 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! vector_tcxx . . $ vector_t# *VECTOR_copy(vector_tcxx . . $ vector_t# *from);
23 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void VECTOR_clean(vector_tcxx . . $ vector_t# *v);
24 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! vector_tcxx . . $ vector_t# *VECTOR_append(vector_tcxx . . $ vector_t# *v1, vector_tcxx . . $ vector_t# *v2);
25 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void VECTOR_delete(vector_tcxx . . $ vector_t# *v, int pos);
26 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! int VECTOR_find_pos(vector_tcxx . . $ vector_t# *v, const void *element);
27 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! bool VECTOR_is_in_vector(vector_tcxx . . $ vector_t# *v, const void *element);
28 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! void VECTOR_remove(vector_tcxx . . $ vector_t# *v, const void *element);
29 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! vector_tcxx . . $ vector_t# *VECTOR_list1_to_vector(struct ListHeader1cxx . . $ ListHeader1# *list);
30 extern LANGSPECcxx . . $ `common/nsmtracker.h:34:11`! vector_tcxx . . $ vector_t# *VECTOR_list3_to_vector(struct ListHeader3cxx . . $ ListHeader3# *list);
31
32 #ifdef __cpluspluscxx . . $ `<built-in>:472:9`!
33 #define VECTOR_FOR_EACHcxx . . $ `common/vector_proc.h:33:9`!(type,varname,vector) { \
34 int iterator666; \
35 for(iterator666=0;iterator666<(vector)->num_elements;iterator666++){ \
36 type varname = (type)((vector)->elements[iterator666]);
37 #else
38 #define VECTOR_FOR_EACH(var,vector) { \
39 int iterator666; \
40 for(iterator666=0;iterator666<(vector)->num_elements;iterator666++){ \
41 var = (vector)->elements[iterator666];
42 #endif
43 #define END_VECTOR_FOR_EACHcxx . . $ `common/vector_proc.h:43:9`! }}
44
45
46 #endif