- added [[noreturn]] to several functions that always throw exceptions.
This commit is contained in:
parent
7d81417829
commit
9c75a38ec3
7 changed files with 14 additions and 14 deletions
|
|
@ -138,7 +138,7 @@ IMPLEMENT_CLASS(DShape2D, false, false)
|
|||
|
||||
static void Shape2D_SetTransform(DShape2D* self, DShape2DTransform *transform)
|
||||
{
|
||||
self->transform = transform->transform;
|
||||
self->transform = PARAM_NULLCHECK(transform, transform)->transform;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(DShape2D, SetTransform, Shape2D_SetTransform)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue