allocateArray static method
Implementation
static Pointer<JSStaticFunction> allocateArray(
List<JSStaticFunctionStruct> structList) {
final pointer = malloc.call<JSStaticFunction>(structList.length + 1);
for (int index = 0; index < structList.length; index++) {
pointer[index].setValue(structList[index]);
}
pointer[structList.length].setValue(JSStaticFunctionStruct());
return pointer;
}