Allow the addition of functions and variables
jamesvega
otislinker345 at hotmail.com
Mon Jan 20 08:38:15 UTC 2025
Hello,
Modules automatically create a namespace for their contents. As a
result, you cannot define a function in a module with a different
name, which doesn’t seem ideal to me.
For instance, I developed a library for creating application
plugins. I want to prevent users of my library from overriding
certain abstraction functions (like DLLMain on Windows) and
encourage them to define their own plugin launch functions as
examples.
It would be beneficial to allow the addition of functions and
variables that are independent of any specific module.
[geometry dash lite](https://geometrydashlite.online)
More information about the Digitalmars-d
mailing list