Cleanup unused functions.
This commit is contained in:
@@ -57,17 +57,6 @@ namespace Cryville.Crtr {
|
|||||||
unsafe void LoadNum(float value) {
|
unsafe void LoadNum(float value) {
|
||||||
fixed (byte* ptr = _numbuf) *(float*)ptr = value;
|
fixed (byte* ptr = _numbuf) *(float*)ptr = value;
|
||||||
}
|
}
|
||||||
unsafe byte[] GetBytes(string value) {
|
|
||||||
int strlen = value.Length;
|
|
||||||
byte[] result = new byte[strlen * sizeof(char) + sizeof(int)];
|
|
||||||
fixed (byte* _ptr = result) {
|
|
||||||
char* ptr = (char*)(_ptr + sizeof(int));
|
|
||||||
*(int*)_ptr = strlen;
|
|
||||||
int i = 0;
|
|
||||||
foreach (var c in value) ptr[i++] = c;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
static readonly int _op_sep = IdentifierManager.SharedInstance.Request(",");
|
static readonly int _op_sep = IdentifierManager.SharedInstance.Request(",");
|
||||||
static readonly int _func_int_map = IdentifierManager.SharedInstance.Request("int_map");
|
static readonly int _func_int_map = IdentifierManager.SharedInstance.Request("int_map");
|
||||||
protected override PdtOperator GetOperator(PdtOperatorSignature sig) {
|
protected override PdtOperator GetOperator(PdtOperatorSignature sig) {
|
||||||
|
Reference in New Issue
Block a user