Skip to content

Commit ba6a22d

Browse files
committed
bitstring: add comment about BitstringFlags
BitstringFlags values are coming from flags encoding in istructions such as bs_get_utf16. Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent 99a5e98 commit ba6a22d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libAtomVM/bitstring.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ extern "C" {
8787
)
8888
#endif
8989

90+
// do not change the values
91+
// these values are the same used from opcodes such as bs_get_utf16
9092
enum BitstringFlags
9193
{
9294
LittleEndianInteger = 0x2,

0 commit comments

Comments
 (0)