Skip to content

Commit

Permalink
Fix warning deprecation enum abstract (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao authored Feb 21, 2024
1 parent a49af7e commit d992bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hld/Api.hx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package hld;

@:enum abstract WaitResult(Int) {
enum abstract WaitResult(Int) {
public var Timeout = -1;
public var Exit = 0;
public var Breakpoint = 1;
Expand All @@ -11,7 +11,7 @@ package hld;
public var Watchbreak = 0x100;
}

@:enum abstract Register(Int) {
enum abstract Register(Int) {
public var Esp = 0;
public var Ebp = 1;
public var Eip = 2;
Expand Down

0 comments on commit d992bef

Please sign in to comment.