MCPcopy Create free account
hub / github.com/SamuraiT/mecab-python3 / SWIG_PropagateClientData

Function SWIG_PropagateClientData

src/MeCab/MeCab_wrap.cpp:9536–9557  ·  view source on GitHub ↗

This function will propagate the clientdata field of type to * any new swig_type_info structures that have been added into the list * of equivalent types. It is like calling * SWIG_TypeClientData(type, clientdata) a second time. */

Source from the content-addressed store, hash-verified

9534* SWIG_TypeClientData(type, clientdata) a second time.
9535*/
9536SWIGRUNTIME void
9537SWIG_PropagateClientData(void) {
9538 size_t i;
9539 swig_cast_info *equiv;
9540 static int init_run = 0;
9541
9542 if (init_run) return;
9543 init_run = 1;
9544
9545 for (i = 0; i < swig_module.size; i++) {
9546 if (swig_module.types[i]->clientdata) {
9547 equiv = swig_module.types[i]->cast;
9548 while (equiv) {
9549 if (!equiv->converter) {
9550 if (equiv->type && !equiv->type->clientdata)
9551 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
9552 }
9553 equiv = equiv->next;
9554 }
9555 }
9556 }
9557}
9558
9559#ifdef __cplusplus
9560#if 0

Callers

nothing calls this directly

Calls 1

SWIG_TypeClientDataFunction · 0.85

Tested by

no test coverage detected