Re: RegisterStaticModules depreciated -> how to register formats now?

Bob Friesenhahn <[email protected]> Mon, 10 Feb 2020 12:10:54 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Mon, 10 Feb 2020, Pro Turm wrote:

> How do you combine calling the static calls like OpenModule() from a C++ class?

I am not totally sure what you are asking, but your C++ module would 
need to provide C linkage (extern C) for its register/unregister 
functions.

If C++ code is used, then the program should be linked using the C++ 
compiler to assure the correct run-time initialization of the whole 
program.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt