diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
| commit | b691c43c44ff180d10e7d4a9afc83b98551ff586 (patch) | |
| tree | 3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.Client/Windows64/Miles/include/tmapi.h | |
| parent | def8cb415354ac390b7e89052a50605285f1aca9 (diff) | |
Initial commit
Diffstat (limited to 'Minecraft.Client/Windows64/Miles/include/tmapi.h')
| -rw-r--r-- | Minecraft.Client/Windows64/Miles/include/tmapi.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Minecraft.Client/Windows64/Miles/include/tmapi.h b/Minecraft.Client/Windows64/Miles/include/tmapi.h new file mode 100644 index 00000000..c1b56183 --- /dev/null +++ b/Minecraft.Client/Windows64/Miles/include/tmapi.h @@ -0,0 +1,36 @@ +// This is the null header file used to remove Telemetry calls. + +#define TMERR_DISABLED 1 + +#define tmTick(...) +#define tmPause(...) +#define tmEnter(...) +#define tmLeave(...) +#define tmThreadName(...) TMERR_DISABLED +#define tmMutexName(...) TMERR_DISABLED +#define tmTryLock(...) TMERR_DISABLED +#define tmEndTryLock(...) +#define tmSetMutexState(...) +#define tmAlloc(...) +#define tmRealloc(...) +#define tmFree(...) +#define tmPlot(...) +#define tmBlob(...) TMERR_DISABLED +#define tmBlobEx(...) TMERR_DISABLED +#define tmMessage(...) +#define tmEmitAccumulationZones(...) TMERR_DISABLED +#define tmEnterAccumulationZone(...) TMERR_DISABLED +#define tmLeaveAccumulationZone(...) TMERR_DISABLED +#define tmZone(...) +#define tmSetLockState(...) +#define tmLockName(...) +#define tmSendCallStack(...) +#define tmAllocEx(...) + +#define NTELEMETRY 1 + +#define TM_CONTEXT_LITE(val) ((char*)(val)) +#define TM_CONTEXT_FULL(val) ((char*)(val)) + +typedef char *HTELEMETRY; + |
