This works for me:
#define DECLARE_SUPERCLASS(api_name, cls_name) \
UCLASS()\
class api_name U##cls_name : public UObject\
{\
\
};\
I tested in a engine plugin, which is why I substituted the MY_API with the argument.
This works for me:
#define DECLARE_SUPERCLASS(api_name, cls_name) \
UCLASS()\
class api_name U##cls_name : public UObject\
{\
\
};\
I tested in a engine plugin, which is why I substituted the MY_API with the argument.