mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Ensure that JNI callbacks have soft float ABI on arm processors
This commit is contained in:
parent
0e38c68e15
commit
8b01ffe133
1 changed files with 7 additions and 1 deletions
|
|
@ -227,8 +227,14 @@ private:
|
|||
|
||||
|
||||
//==============================================================================
|
||||
#if defined (__arm__)
|
||||
#define JUCE_ARM_SOFT_FLOAT_ABI __attribute__ ((pcs("aapcs")))
|
||||
#else
|
||||
#define JUCE_ARM_SOFT_FLOAT_ABI
|
||||
#endif
|
||||
|
||||
#define JUCE_JNI_CALLBACK(className, methodName, returnType, params) \
|
||||
extern "C" __attribute__ ((visibility("default"))) returnType JUCE_JOIN_MACRO (JUCE_JOIN_MACRO (Java_, className), _ ## methodName) params
|
||||
extern "C" __attribute__ ((visibility("default"))) JUCE_ARM_SOFT_FLOAT_ABI returnType JUCE_JOIN_MACRO (JUCE_JOIN_MACRO (Java_, className), _ ## methodName) params
|
||||
|
||||
//==============================================================================
|
||||
class AndroidSystem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue