- added [[noreturn]] to several functions that always throw exceptions.

This commit is contained in:
Christoph Oelckers 2022-11-05 09:09:00 +01:00
commit 9c75a38ec3
7 changed files with 14 additions and 14 deletions

View file

@ -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)