mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
Fixed handling of count parameter's default value in Array.Delete()
https://mantis.zdoom.org/view.php?id=571
This commit is contained in:
parent
d8d7dc973c
commit
20a9f17a15
1 changed files with 7 additions and 7 deletions
|
@ -97,7 +97,7 @@ DEFINE_ACTION_FUNCTION(FDynArray_I8, Delete)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FDynArray_I8);
|
||||
PARAM_INT(index);
|
||||
PARAM_INT(count);
|
||||
PARAM_INT_DEF(count);
|
||||
self->Delete(index, count);
|
||||
return 0;
|
||||
}
|
||||
|
@ -200,7 +200,7 @@ DEFINE_ACTION_FUNCTION(FDynArray_I16, Delete)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FDynArray_I16);
|
||||
PARAM_INT(index);
|
||||
PARAM_INT(count);
|
||||
PARAM_INT_DEF(count);
|
||||
self->Delete(index, count);
|
||||
return 0;
|
||||
}
|
||||
|
@ -303,7 +303,7 @@ DEFINE_ACTION_FUNCTION(FDynArray_I32, Delete)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FDynArray_I32);
|
||||
PARAM_INT(index);
|
||||
PARAM_INT(count);
|
||||
PARAM_INT_DEF(count);
|
||||
self->Delete(index, count);
|
||||
return 0;
|
||||
}
|
||||
|
@ -406,7 +406,7 @@ DEFINE_ACTION_FUNCTION(FDynArray_F32, Delete)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FDynArray_F32);
|
||||
PARAM_INT(index);
|
||||
PARAM_INT(count);
|
||||
PARAM_INT_DEF(count);
|
||||
self->Delete(index, count);
|
||||
return 0;
|
||||
}
|
||||
|
@ -509,7 +509,7 @@ DEFINE_ACTION_FUNCTION(FDynArray_F64, Delete)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FDynArray_F64);
|
||||
PARAM_INT(index);
|
||||
PARAM_INT(count);
|
||||
PARAM_INT_DEF(count);
|
||||
self->Delete(index, count);
|
||||
return 0;
|
||||
}
|
||||
|
@ -612,7 +612,7 @@ DEFINE_ACTION_FUNCTION(FDynArray_Ptr, Delete)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FDynArray_Ptr);
|
||||
PARAM_INT(index);
|
||||
PARAM_INT(count);
|
||||
PARAM_INT_DEF(count);
|
||||
self->Delete(index, count);
|
||||
return 0;
|
||||
}
|
||||
|
@ -716,7 +716,7 @@ DEFINE_ACTION_FUNCTION(FDynArray_String, Delete)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FDynArray_String);
|
||||
PARAM_INT(index);
|
||||
PARAM_INT(count);
|
||||
PARAM_INT_DEF(count);
|
||||
self->Delete(index, count);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue