Skip to content

Commit aef93da

Browse files
committed
added setNull()
1 parent 608ff52 commit aef93da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cdb/Types.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,10 @@ abstract GuidInt<T>(GuidIntImpl) from GuidIntImpl to GuidIntImpl {
508508
return haxe.Int64.isZero(this);
509509
}
510510

511+
public inline function setNull() {
512+
this = getNull();
513+
}
514+
511515
public static inline function getNull<T>() : GuidInt<T> return haxe.Int64.ofInt(0);
512516
}
513517

0 commit comments

Comments
 (0)