Mercurial > pub > dyncall > dyncall
diff dyncallback/dyncall_args_arm32.c @ 661:93ce63d72d59
- dyncallback code cleanup: removed unneeded headers
author | Tassilo Philipp |
---|---|
date | Thu, 14 Mar 2024 10:11:28 +0100 |
parents | 3bad4cb40445 |
children |
line wrap: on
line diff
--- a/dyncallback/dyncall_args_arm32.c Tue Mar 12 23:32:12 2024 +0100 +++ b/dyncallback/dyncall_args_arm32.c Thu Mar 14 10:11:28 2024 +0100 @@ -6,7 +6,7 @@ Description: Callback's Arguments VM - Implementation for ARM32 (ARM and THUMB mode) License: - Copyright (c) 2007-2022 Daniel Adler <dadler@uni-goettingen.de>, + Copyright (c) 2007-2024 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, modify, and distribute this software for any @@ -25,7 +25,20 @@ -#include "dyncall_args_arm32.h" +#include "dyncall_args.h" + +struct DCArgs +{ + /* Don't change order! */ + long reg_data[4]; + int reg_count; + long* stack_ptr; +#if defined(DC__ABI_ARM_HF) + DCfloat f[16]; + int freg_count; + int dreg_count; +#endif +}; static void arm_align_64(DCArgs* args)