Host object APIs: Difference between revisions

Line 129: Line 129:
Currently we don't want to expose AvmCore to the host, but right now you need to do this to create a String:
Currently we don't want to expose AvmCore to the host, but right now you need to do this to create a String:


  ((AvmCore*)((AbcEnv*)vm)->core())->constantString("c string")
  Stringp str = ((AvmCore*)((AbcEnv*)vm)->core())->constantString("c string")
 
We need to come up with something more transparent.


===Domain===
===Domain===
7

edits