mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
* Fix 64-bit default numeric enum values in typescript If you had a default value that wasn't a valid enum value (e.g., a zero if you used a bit_flag setting, like you get with AdvancedFeatures in reflection.fbs), we weren't using BigInt. * Run generate_code.py * [DART] Handle deprecated fields & invalid enum defaults * Update .NET test
12 lines
314 B
Java
12 lines
314 B
Java
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
package MyGame.Example;
|
|
|
|
@SuppressWarnings("unused")
|
|
public final class LongEnum {
|
|
private LongEnum() { }
|
|
public static final long LongOne = 2;
|
|
public static final long LongTwo = 4;
|
|
public static final long LongBig = 1099511627776;
|
|
}
|
|
|