api2wire_StringList method

  1. @protected
Pointer<wire_StringList> api2wire_StringList(
  1. List<String> raw
)

Implementation

@protected
ffi.Pointer<wire_StringList> api2wire_StringList(List<String> raw) {
  final ans = inner.new_StringList_0(raw.length);
  for (var i = 0; i < raw.length; i++) {
    ans.ref.ptr[i] = api2wire_String(raw[i]);
  }
  return ans;
}