Closed rajdakin closed 9 months ago
This PR refactors various common operations on wrapped libraries initialization/finalization:
getMy(lib)
CUSTOM_INIT
freeMy()
CUSTOM_FINI
HAS_MY
SETALT
ALTMY
setNeededLibs(lib, n, ...)
n
NEEDED_LIBS
This PR refactors various common operations on wrapped libraries initialization/finalization:
getMy(lib)
inCUSTOM_INIT
andfreeMy()
inCUSTOM_FINI
, toggled by theHAS_MY
macro;SETALT
inCUSTOM_INIT
into theALTMY
macro;setNeededLibs(lib, n, ...)
inCUSTOM_INIT
, called with the correctn
using theNEEDED_LIBS
macro.