Searched refs:module_copy (Results 1 – 1 of 1) sorted by relevance
492 CvModuleInfo* module_copy = 0; in cvRegisterModule() local505 CV_CALL( module_copy = (CvModuleInfo*)cvAlloc( sizeof(*module_copy) + in cvRegisterModule()508 *module_copy = *module; in cvRegisterModule()509 module_copy->name = (char*)(module_copy + 1); in cvRegisterModule()510 module_copy->version = (char*)(module_copy + 1) + name_len + 1; in cvRegisterModule()512 memcpy( (void*)module_copy->name, module->name, name_len + 1 ); in cvRegisterModule()513 memcpy( (void*)module_copy->version, module->version, version_len + 1 ); in cvRegisterModule()514 module_copy->next = 0; in cvRegisterModule()517 CvModule::first = module_copy; in cvRegisterModule()519 CvModule::last->next = module_copy; in cvRegisterModule()[all …]