Replies: 1 comment 4 replies
|
I did some research and I think it might be possible to handle this automatically by generating a That way like you described, you wouldn't need to specify an initialization/deinititialization function. For a temporary solution, you can create initialization and deinitialization functions, and just never call them: Or you can also manually define |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
For example, my
SampleLibrary.adeptis like this:Something like this is totally fine with other languages. The fact is, I have only seen the init function and deinit function being used in C++. Other languages I have worked with, e.g., FreeBASIC, are totally fine without the init function and deinit function. As I recall, even in C++, these functions are optional.
Currently, this is what I see when I tried to compile
SampleLibrary.adeptwithadept --dylib SampleLibrary.adept:All reactions