C++ MACRO - Beginner

Regarding this line:
class BUILDINGESCAPE_API UPositionReport : public UActorComponent

Where can i find some tutorials or help to understand whats going on here with that Macro “BUILDINGESCAPE_API”. I have never seen a Macro used in a class definition like that, and its driving me nuts

The macro expands to nothing. It’s used as part of Unreal’s build system to say that class is part of the BuildingEscape module.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms