Flutter Engine
The Flutter Engine
|
#include <emscripten.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | MyStruct |
Functions | |
EMSCRIPTEN_KEEPALIVE struct MyStruct * | getStruct () |
EMSCRIPTEN_KEEPALIVE void | clearStruct (struct MyStruct *s) |
EMSCRIPTEN_KEEPALIVE void | empty () |
EMSCRIPTEN_KEEPALIVE int8_t | addInt8 (int8_t a, int8_t b) |
EMSCRIPTEN_KEEPALIVE uint8_t | addUint8 (uint8_t a, uint8_t b) |
EMSCRIPTEN_KEEPALIVE int16_t | addInt16 (int16_t a, int16_t b) |
EMSCRIPTEN_KEEPALIVE uint16_t | addUint16 (uint16_t a, uint16_t b) |
EMSCRIPTEN_KEEPALIVE int32_t | addInt32 (int32_t a, int32_t b) |
EMSCRIPTEN_KEEPALIVE uint32_t | addUint32 (uint32_t a, uint32_t b) |
EMSCRIPTEN_KEEPALIVE int64_t | addInt64 (int64_t a, int64_t b) |
EMSCRIPTEN_KEEPALIVE uint64_t | addUint64 (uint64_t a, uint64_t b) |
EMSCRIPTEN_KEEPALIVE bool | negateBool (bool a) |
EMSCRIPTEN_KEEPALIVE void | toggleBool () |
EMSCRIPTEN_KEEPALIVE bool | boolReturn (int a) |
EMSCRIPTEN_KEEPALIVE char | incrementChar (char a) |
EMSCRIPTEN_KEEPALIVE unsigned char | incrementUnsignedChar (unsigned char a) |
EMSCRIPTEN_KEEPALIVE signed char | incrementSignedChar (signed char a) |
EMSCRIPTEN_KEEPALIVE short | incrementShort (short a) |
EMSCRIPTEN_KEEPALIVE unsigned short | incrementUnsignedShort (unsigned short a) |
EMSCRIPTEN_KEEPALIVE int | incrementInt (int a) |
EMSCRIPTEN_KEEPALIVE unsigned int | incrementUnsignedInt (unsigned int a) |
EMSCRIPTEN_KEEPALIVE long | incrementLong (long a) |
EMSCRIPTEN_KEEPALIVE unsigned long | incrementUnsignedLong (unsigned long a) |
EMSCRIPTEN_KEEPALIVE long long | incrementLongLong (long long a) |
EMSCRIPTEN_KEEPALIVE unsigned long long | incrementUnsignedLongLong (unsigned long long a) |
EMSCRIPTEN_KEEPALIVE intptr_t | incrementIntPtr (intptr_t a) |
EMSCRIPTEN_KEEPALIVE uintptr_t | incrementUintPtr (uintptr_t a) |
EMSCRIPTEN_KEEPALIVE size_t | incrementSize (size_t a) |
EMSCRIPTEN_KEEPALIVE wchar_t | incrementWchar (wchar_t a) |
Variables | |
struct MyStruct | s = { 1.0, 2 } |
struct MyStruct | a [10] = { 1.0, 2 } |
static bool | b = true |
EMSCRIPTEN_KEEPALIVE int16_t addInt16 | ( | int16_t | a, |
int16_t | b | ||
) |
Definition at line 40 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE int32_t addInt32 | ( | int32_t | a, |
int32_t | b | ||
) |
Definition at line 50 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE int64_t addInt64 | ( | int64_t | a, |
int64_t | b | ||
) |
Definition at line 60 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE int8_t addInt8 | ( | int8_t | a, |
int8_t | b | ||
) |
Definition at line 30 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE uint16_t addUint16 | ( | uint16_t | a, |
uint16_t | b | ||
) |
Definition at line 45 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE uint32_t addUint32 | ( | uint32_t | a, |
uint32_t | b | ||
) |
Definition at line 55 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE uint64_t addUint64 | ( | uint64_t | a, |
uint64_t | b | ||
) |
Definition at line 65 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE uint8_t addUint8 | ( | uint8_t | a, |
uint8_t | b | ||
) |
Definition at line 35 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE bool boolReturn | ( | int | a | ) |
Definition at line 82 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE void clearStruct | ( | struct MyStruct * | s | ) |
Definition at line 21 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE void empty | ( | ) |
Definition at line 27 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE struct MyStruct * getStruct | ( | ) |
Definition at line 16 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE char incrementChar | ( | char | a | ) |
Definition at line 93 of file ffi_native_test_module.c.
Definition at line 118 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE intptr_t incrementIntPtr | ( | intptr_t | a | ) |
Definition at line 148 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE long incrementLong | ( | long | a | ) |
Definition at line 128 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE long long incrementLongLong | ( | long long | a | ) |
Definition at line 138 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE short incrementShort | ( | short | a | ) |
Definition at line 108 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE signed char incrementSignedChar | ( | signed char | a | ) |
Definition at line 103 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE size_t incrementSize | ( | size_t | a | ) |
Definition at line 158 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE uintptr_t incrementUintPtr | ( | uintptr_t | a | ) |
Definition at line 153 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE unsigned char incrementUnsignedChar | ( | unsigned char | a | ) |
Definition at line 98 of file ffi_native_test_module.c.
Definition at line 123 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE unsigned long incrementUnsignedLong | ( | unsigned long | a | ) |
Definition at line 133 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE unsigned long long incrementUnsignedLongLong | ( | unsigned long long | a | ) |
Definition at line 143 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE unsigned short incrementUnsignedShort | ( | unsigned short | a | ) |
Definition at line 113 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE wchar_t incrementWchar | ( | wchar_t | a | ) |
Definition at line 163 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE bool negateBool | ( | bool | a | ) |
Definition at line 70 of file ffi_native_test_module.c.
EMSCRIPTEN_KEEPALIVE void toggleBool | ( | ) |
Definition at line 77 of file ffi_native_test_module.c.
struct MyStruct a[10] = { 1.0, 2 } |
|
static |
Definition at line 74 of file ffi_native_test_module.c.
struct MyStruct s = { 1.0, 2 } |