[gamecode] Add missed long and ulong info

Both pr_type_size and pr_type_name. I want to macroize the enum, but
need to sort out the clutter of headers first, just need to decide on
naming. This at least sorts out the missed values for now.
This commit is contained in:
Bill Currie 2022-01-08 03:07:17 +09:00
parent f5be54b6d2
commit ed6b84fbde
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,8 @@ VISIBLE const pr_ushort_t pr_type_size[ev_type_count] = {
1, // ev_uinteger
0, // ev_short value in opcode
2, // ev_double
2, // ev_long
2, // ev_ulong
0, // ev_invalid not a valid/simple type
};
@ -74,6 +76,8 @@ VISIBLE const char * const pr_type_name[ev_type_count] = {
"uinteger",
"short",
"double",
"long",
"ulong",
"invalid",
};