diff --git a/src/kernel/fs/FileHandler.hx b/src/kernel/fs/FileHandler.hx index 244b4d3..12b0d85 100644 --- a/src/kernel/fs/FileHandler.hx +++ b/src/kernel/fs/FileHandler.hx @@ -109,7 +109,7 @@ abstract WriteBinaryHandle(FileHandle) from FileHandle { } } -@:enum abstract BinarySeekWhence(String) to String { +enum abstract BinarySeekWhence(String) to String { var Set = "set"; // Relative to the beginning of the file. var Current = "cur"; // Relative to the current position. This is the default. var End = "end"; // Relative to the end of the file. diff --git a/src/kernel/http/StatusCode.hx b/src/kernel/http/StatusCode.hx index c41f015..a2e4414 100644 --- a/src/kernel/http/StatusCode.hx +++ b/src/kernel/http/StatusCode.hx @@ -1,6 +1,6 @@ package kernel.http; -@:enum abstract StatusCode(Int) from Int { +enum abstract StatusCode(Int) from Int { var Continue = 100; var SwitchingProtocols = 101; var Processing = 102;