Flutter Engine
The Flutter Engine
ffi_test_fields.c
Go to the documentation of this file.
1// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4#include "ffi_test_fields.h"
5
8DART_EXPORT_FIELD const char* globalString = "Hello Dart!";
9DART_EXPORT_FIELD int globalArray[] = {1, 2, 3};
10DART_EXPORT_FIELD double identity3x3[3][3] = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}};
DART_EXPORT_FIELD const char * globalString
DART_EXPORT_FIELD struct Coord globalStruct
DART_EXPORT_FIELD double identity3x3[3][3]
DART_EXPORT_FIELD int32_t globalInt
DART_EXPORT_FIELD int globalArray[]
#define DART_EXPORT_FIELD