Fixed a lot of bugs
* Fixed ByRef variables of defined types causing crashes * Fixed ArrayDim causing crashes with members of types * Added parent references to number and string values for use with ByRef * Added TypeArrayDim * Added the ability to use custom types in embedded functions * Added the ability to create types in embedded_functions.bas * Added new output file for embedded (rcbasic_dev4.txt) that will output code to generate types * Added defined types to byref exceptions
This commit is contained in:
@@ -1416,13 +1416,13 @@ add_embedded_arg("mA", ID_TYPE_NUM);
|
||||
add_embedded_arg("mB", ID_TYPE_NUM);
|
||||
add_embedded_arg("mC", ID_TYPE_NUM);
|
||||
embed_function("TypeArrayDim", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("id$", ID_TYPE_BYREF_STR);
|
||||
add_embedded_arg("id", ID_TYPE_BYREF_USER, 0);
|
||||
embed_function("TypeArraySize", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("id", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("id", ID_TYPE_BYREF_USER, 0);
|
||||
add_embedded_arg("array_dim", ID_TYPE_NUM);
|
||||
embed_function("TypeArrayCopy", ID_TYPE_SUB);
|
||||
add_embedded_arg("src", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("dst", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("src", ID_TYPE_BYREF_USER, 0);
|
||||
add_embedded_arg("dst", ID_TYPE_BYREF_USER, 0);
|
||||
embed_function("TypeArrayFill", ID_TYPE_SUB);
|
||||
add_embedded_arg("src", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("fdata", ID_TYPE_NUM);
|
||||
add_embedded_arg("src", ID_TYPE_BYREF_USER, 0);
|
||||
add_embedded_arg("fdata", ID_TYPE_USER, 0);
|
||||
|
||||
Reference in New Issue
Block a user