UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CoreNative.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4 CoreNative.h: Native function lookup table.
5=============================================================================*/
6
7#pragma once
8
9#include "HAL/Platform.h"
10#include "UObject/Object.h"
11#include "UObject/Script.h"
12
13class UObject;
14struct FFrame;
15
18
19// This class is deliberately simple (i.e. POD) to keep generated code size down.
25
26namespace UE::CodeGen
27{
28 struct FClassNativeFunction;
29}
30
33{
39 // overload for types generated from blueprints, which can have unicode names:
41
42#if !UE_WITH_CONSTINIT_UOBJECT
44 static COREUOBJECT_API void RegisterFunctions(class UClass* Class, const FNameNativePtrPair* InArray, int32 NumFunctions);
45#endif // !UE_WITH_CONSTINIT_UOBJECT
46};
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
void(* FNativeFuncPtr)(UObject *Context, FFrame &TheStack, RESULT_DECL)
Definition CoreNative.h:17
FPlatformTypes::WIDECHAR WIDECHAR
A wide character. Normally a signed type.
Definition Platform.h:1133
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
FPlatformTypes::ANSICHAR ANSICHAR
An ANSI character. Normally a signed type.
Definition Platform.h:1131
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define RESULT_DECL
Definition Script.h:92
Definition Class.h:3793
Definition Object.h:95
Definition Class.h:1127
Definition Stack.h:114
Definition CoreNative.h:21
const char * NameUTF8
Definition CoreNative.h:22
FNativeFuncPtr Pointer
Definition CoreNative.h:23
Definition CoreNative.h:33
static COREUOBJECT_API void RegisterFunction(class UClass *Class, const ANSICHAR *InName, FNativeFuncPtr InPointer)
Definition Class.cpp:175
FNativeFunctionRegistrar(class UClass *Class, const ANSICHAR *InName, FNativeFuncPtr InPointer)
Definition CoreNative.h:34
static COREUOBJECT_API void RegisterFunctions(class UClass *Class, TConstArrayView< UE::CodeGen::FClassNativeFunction > InFunctions)
Definition Class.cpp:186