You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#fix Integrated code. #fix Added other code to SimplifiedClassParse to make #elif etc. work in the middle of #ifdef/#ifndef. #fix Added missing UHTDebugging.manifest fields. #change Added some test preprocessor directives to TestObject.h. #change Fixed some alignment. #codereview robert.manuszewski [CL 2061388 by Steve Robb in Main branch]
61 lines
985 B
C++
61 lines
985 B
C++
#pragma once
|
|
|
|
#include "TestObject.generated.h"
|
|
|
|
UCLASS()
|
|
class UTestObject : public UObject
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
UFUNCTION(BlueprintCallable, Category="Random")
|
|
void TestForNullPtrDefaults(UObject* Obj1 = NULL, UObject* Obj2 = nullptr, UObject* Obj3 = 0);
|
|
|
|
#if BLAH
|
|
UFUNCTION() int x; // This should not compile if UHT parses it, which it shouldn't
|
|
#elif BLAH2
|
|
UFUNCTION() int x;
|
|
#else
|
|
UFUNCTION() int x;
|
|
#endif
|
|
|
|
#ifdef X
|
|
UFUNCTION() int x;
|
|
#ifndef X
|
|
UFUNCTION() int x;
|
|
#elif BLAH4
|
|
UFUNCTION() int x;
|
|
#else
|
|
UFUNCTION() int x;
|
|
#endif
|
|
UFUNCTION() int x;
|
|
#elif BLAH3
|
|
UFUNCTION() int x;
|
|
#ifndef X
|
|
UFUNCTION() int x;
|
|
#elif BLAH4
|
|
UFUNCTION() int x;
|
|
#else
|
|
UFUNCTION() int x;
|
|
#endif
|
|
UFUNCTION() int x;
|
|
#else
|
|
UFUNCTION() int x;
|
|
#ifndef X
|
|
UFUNCTION() int x;
|
|
#elif BLAH4
|
|
UFUNCTION() int x;
|
|
#else
|
|
UFUNCTION() int x;
|
|
#endif
|
|
UFUNCTION() int x;
|
|
#endif
|
|
|
|
#ifndef X
|
|
UFUNCTION() int x;
|
|
#elif BLAH4
|
|
UFUNCTION() int x;
|
|
#else
|
|
UFUNCTION() int x;
|
|
#endif
|
|
};
|