#include <dart_converter.h>
Definition at line 286 of file dart_converter.h.
◆ FfiType
◆ NativeType
◆ AllowedInLeafCall()
◆ FromArguments()
Definition at line 313 of file dart_converter.h.
315 {
317 }
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 302 of file dart_converter.h.
302 {
304 return std::string();
305 }
306 uint8_t*
data =
nullptr;
309 return std::string();
310 return std::string(
reinterpret_cast<char*
>(
data),
length);
311 }
DART_EXPORT Dart_Handle Dart_StringToUTF8(Dart_Handle str, uint8_t **utf8_array, intptr_t *length)
DART_EXPORT bool Dart_IsNull(Dart_Handle object)
DART_EXPORT bool Dart_IsError(Dart_Handle handle)
std::shared_ptr< const fml::Mapping > data
◆ FromFfi()
◆ GetDartRepresentation()
Definition at line 322 of file dart_converter.h.
static constexpr const char * kDartRepresentation
◆ GetFfiRepresentation()
Definition at line 321 of file dart_converter.h.
static constexpr const char * kFfiRepresentation
◆ SetReturnValue()
Definition at line 298 of file dart_converter.h.
298 {
300 }
DART_EXPORT void Dart_SetReturnValue(Dart_NativeArguments args, Dart_Handle retval)
static Dart_Handle ToDart(const NativeType &val)
◆ ToDart()
Definition at line 293 of file dart_converter.h.
293 {
295 val.length());
296 }
DART_EXPORT Dart_Handle Dart_NewStringFromUTF8(const uint8_t *utf8_array, intptr_t length)
◆ ToFfi()
◆ kAllowedInLeafCall
◆ kDartRepresentation
◆ kFfiRepresentation
The documentation for this struct was generated from the following file: