mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-29 18:54:39 -04:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
14 lines
279 B
Modula-2
14 lines
279 B
Modula-2
|
|
include "tier0/perftrace.h"
|
|
|
|
[nogc]
|
|
native static class PerformanceTrace as NativeEngine.PerformanceTrace
|
|
{
|
|
inline static void BeginEvent( void* name, string data, uint color )
|
|
{
|
|
PerformanceTrace::BeginEvent( (const char*)name, data, color );
|
|
}
|
|
|
|
static void EndEvent();
|
|
}
|