#include <dart_converter.h>
Definition at line 327 of file dart_converter.h.
◆ FfiType
◆ NativeType
◆ AllowedInLeafCall()
◆ FromArguments()
Definition at line 354 of file dart_converter.h.
356 {
358 }
DART_EXPORT Dart_Handle Dart_GetNativeArgument(Dart_NativeArguments args, int index)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
static NativeType FromDart(Dart_Handle handle)
◆ FromDart()
Definition at line 343 of file dart_converter.h.
343 {
345 return std::u16string();
346 }
351 return std::u16string(
reinterpret_cast<char16_t*
>(
data.data()),
length);
352 }
DART_EXPORT Dart_Handle Dart_StringToUTF16(Dart_Handle str, uint16_t *utf16_array, intptr_t *length)
DART_EXPORT Dart_Handle Dart_StringLength(Dart_Handle str, intptr_t *length)
DART_EXPORT bool Dart_IsNull(Dart_Handle object)
std::shared_ptr< const fml::Mapping > data
◆ FromFfi()
◆ GetDartRepresentation()
Definition at line 363 of file dart_converter.h.
static constexpr const char * kDartRepresentation
◆ GetFfiRepresentation()
Definition at line 362 of file dart_converter.h.
static constexpr const char * kFfiRepresentation
◆ SetReturnValue()
Definition at line 339 of file dart_converter.h.
339 {
341 }
DART_EXPORT void Dart_SetReturnValue(Dart_NativeArguments args, Dart_Handle retval)
static Dart_Handle ToDart(const NativeType &val)
◆ ToDart()
Definition at line 334 of file dart_converter.h.
334 {
336 reinterpret_cast<const uint16_t*>(val.data()), val.length());
337 }
DART_EXPORT Dart_Handle Dart_NewStringFromUTF16(const uint16_t *utf16_array, intptr_t length)
◆ ToFfi()
◆ kAllowedInLeafCall
◆ kDartRepresentation
◆ kFfiRepresentation
The documentation for this struct was generated from the following file: