Skip to content

Commit

Permalink
add missing STREAM_BYTE_ORDER_NATIVE property
Browse files Browse the repository at this point in the history
  • Loading branch information
samtupy committed May 1, 2024
1 parent a0171df commit a7add91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/datastreams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ void RegisterScriptDatastreams(asIScriptEngine* engine) {
engine->RegisterEnumValue("compression_method", "COMPRESSION_METHOD_ZLIB", DeflatingStreamBuf::STREAM_ZLIB);
engine->RegisterEnumValue("compression_method", "COMPRESSION_METHOD_GZIP", DeflatingStreamBuf::STREAM_GZIP);
engine->RegisterEnum("datastream_byte_order");
engine->RegisterEnumValue("datastream_byte_order", "STREAM_BYTE_ORDER_NATIVE", BinaryReader::NATIVE_BYTE_ORDER);
engine->RegisterEnumValue("datastream_byte_order", "STREAM_BYTE_ORDER_BIG_ENDIAN", BinaryReader::BIG_ENDIAN_BYTE_ORDER);
engine->RegisterEnumValue("datastream_byte_order", "STREAM_BYTE_ORDER_NETWORK", BinaryReader::NETWORK_BYTE_ORDER);
engine->RegisterEnumValue("datastream_byte_order", "STREAM_BYTE_ORDER_LITTLE_ENDIAN", BinaryReader::LITTLE_ENDIAN_BYTE_ORDER);
Expand Down

0 comments on commit a7add91

Please sign in to comment.