mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
cleanup
This commit is contained in:
parent
12cd719327
commit
8cab237153
@ -51,23 +51,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
template <typename T>
|
|
||||||
T* interfaceAlloc()
|
|
||||||
{
|
|
||||||
void* ptr = gds__alloc(sizeof(T));
|
|
||||||
return new(ptr) T;
|
|
||||||
// return FB_NEW(*getDefaultMemoryPool()) T;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
void interfaceFree(T* ptr)
|
|
||||||
{
|
|
||||||
delete((void*) 0) ptr;
|
|
||||||
gds__free(ptr);
|
|
||||||
// delete ptr;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Implement standard interface and plugin functions
|
// Implement standard interface and plugin functions
|
||||||
template <class C, int V, typename S>
|
template <class C, int V, typename S>
|
||||||
|
Loading…
Reference in New Issue
Block a user