This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+26
View File
@@ -0,0 +1,26 @@
/* Copyright 2003-2006 ROBLOX Corporation, All Rights Reserved */
#pragma once
#include "rbx/Debug.h"
namespace RBX {
class KernelIndex {
protected:
int kernelIndex;
public:
bool indexInKernel() const {
return (kernelIndex != -1);
}
KernelIndex() : kernelIndex(-1)
{}
~KernelIndex() {
RBXASSERT(!indexInKernel());
}
};
} // namespace