SwadicalRag/wasm2lua

Strings with user defined length in lua-webidl

SwadicalRag opened this issue · 1 comments

Should I make a new extAttr for this?

interface Test {
  void Func([String="inStr"] any str, [StringLength="inStr"] any len);
};

and len is automatically filled in by the compiler as size_t + str is filled in as char * or unsigned char * if [Unsigned] also present.

Obsolete due to #14