"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/include/firebird/UdrCppEngine.h" between
Firebird-3.0.2.32703-0.tar.bz2 and Firebird-3.0.4.33054-0.tar.bz2

About: Firebird is a relational database offering many ANSI SQL standard features.

UdrCppEngine.h  (Firebird-3.0.2.32703-0.tar.bz2):UdrCppEngine.h  (Firebird-3.0.4.33054-0.tar.bz2)
skipping to change at line 319 skipping to change at line 319
node->factory = factory; node->factory = factory;
node->next = *list; node->next = *list;
*list = node; *list = node;
} }
static void finish(IStatus* status, IUdrPlugin* plugin) static void finish(IStatus* status, IUdrPlugin* plugin)
{ {
CheckStatusWrapper statusWrapper(status); CheckStatusWrapper statusWrapper(status);
if (!run(&statusWrapper, plugin, &IUdrPlugin::registerFunction, r egFunctions)) if (!run<IUdrFunctionFactory>(&statusWrapper, plugin, &IUdrPlugin ::registerFunction, regFunctions))
return; return;
if (!run(&statusWrapper, plugin, &IUdrPlugin::registerProcedure, regProcedures)) if (!run<IUdrProcedureFactory>(&statusWrapper, plugin, &IUdrPlugi n::registerProcedure, regProcedures))
return; return;
if (!run(&statusWrapper, plugin, &IUdrPlugin::registerTrigger, re gTriggers)) if (!run<IUdrTriggerFactory>(&statusWrapper, plugin, &IUdrPlugin: :registerTrigger, regTriggers))
return; return;
} }
private: private:
template <typename T> template <typename T>
static bool run(CheckStatusWrapper* statusWrapper, IUdrPlugin* plugin, static bool run(CheckStatusWrapper* statusWrapper, IUdrPlugin* plugin,
void (IUdrPlugin::*routine)(CheckStatusWrapper* status, const cha r* name, T* factory), void (IUdrPlugin::*routine)(CheckStatusWrapper* status, const cha r* name, T* factory),
RegistrationNode<T>* list) RegistrationNode<T>* list)
{ {
for (RegistrationNode<T>* node = list; node; node = node->next) for (RegistrationNode<T>* node = list; node; node = node->next)
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)