Home | History | Annotate | Download | only in 2.0.11

Lines Matching refs:cast

18  * cast linked list. The cast data is initially stored in something like a
23 * a variable number of columns. So to actually build the cast linked list,
28 * First off, we lookup the cast->type name to see if it is already loaded.
30 * 1) If the cast->type has already been loaded AND the type we are adding
32 * replace the cast->type pointer with the type pointer that has already
35 * cast->type) are loaded, THEN the cast info has already been loaded by
37 * 3) Finally, if cast->type has not already been loaded, then we add that
38 * swig_cast_info to the linked list (because the cast->type) pointer will
110 swig_cast_info *cast;
136 cast = swig_module.cast_initial[i];
137 while (cast->type) {
142 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
145 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
147 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
155 cast->type = ret;
161 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
169 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
171 if (type->cast) {
172 type->cast->prev = cast;
173 cast->next = type->cast;
175 type->cast = cast;
177 cast++;
185 printf("**** SWIG_InitializeModule: Cast List ******\n");
188 swig_cast_info *cast = swig_module.cast_initial[i];
190 while (cast->type) {
191 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
192 cast++;
197 printf("**** SWIG_InitializeModule: Cast List ******\n");
217 equiv = swig_module.types[i]->cast;