How to exclude function from being imported in D language?

BoQsc vaidas.boqsc at gmail.com
Tue Mar 8 17:47:47 UTC 2022


Premise: In D language, only one main(){} function can exist in a 
program.
Having two `main()` functions throws an error.

Let's say I want to use some functionality of another program, 
but it has a `main(){}`
function. How can I import and use functions without importing 
the `main(){}` function?



More information about the Digitalmars-d-learn mailing list