From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Modifiers (C++), Keyword Extensions, Storage Class Specifiers (C++)


__declspec(package) declarator

The package argument is used to indicate that the class definition can be compiled in a package.

Note: You can use the macro PACKAGE, defined in sysmac.h, as an alternative for __declspec(package).
Attention: If a class is marked as __declspec(package), and it contains a non-inline function declaration, and the file containing the class is compiled with the -tP option, then the class is treated as declspec(dllexport); otherwise it's considered declspec(dllimport).

See Also