Board index » cppbuilder » Auto-generated header for pascal units and PACKAGE

Auto-generated header for pascal units and PACKAGE

The auto-generated header (.hpp) for a pascal unit adds PACKAGE to all
variables, procedures and functions from the interface section.
How can this be avoided?

Best regards Leo Havm?ller.

 

Re:Auto-generated header for pascal units and PACKAGE


Quote
"Leo Havm?ller" <l...@-nospam-rtx.dk> writes:
> The auto-generated header (.hpp) for a pascal unit adds PACKAGE to all
> variables, procedures and functions from the interface section.
> How can this be avoided?

Just curious. Why you want to avoid it?

--
Oscar.

Re:Auto-generated header for pascal units and PACKAGE


Quote
"Leo Havm?ller" <l...@-nospam-rtx.dk> writes:
> The auto-generated header (.hpp) for a pascal unit adds PACKAGE to all
> variables, procedures and functions from the interface section.
> How can this be avoided?

BTW, you can't, AFAIK.

--
Oscar.

Re:Auto-generated header for pascal units and PACKAGE


Quote
> > The auto-generated header (.hpp) for a pascal unit adds PACKAGE to all
> > variables, procedures and functions from the interface section.
> > How can this be avoided?

> Just curious. Why you want to avoid it?

Because it means that all these symbols are exported.

Best regards Leo Havm?ller

Other Threads