setString method

void setString(
  1. String value,
  2. IOJsScript script
)

Implementation

void setString(String value, IOJsScript script) {
  type = ARG_TYPE_STRING;
  var ptr = value.toNativeUtf8();
  ptrValue = ptr;
  script._temp.add(ptr);
}