I have an IDL file and I want to add a new attribute that contains an array of
strings. The interface is implemented in JavaScript and I'm writing C++ code.
IDL:
readonly attribute nsIArray osPaths; // DOMString[]
Consuming in C++:
nsCOMPtr bla;
app->GetOsPaths(getter_AddRefs(bla));
Hi,
>From code I can use Cu.import("resource://gre/modules/Promise.jsm"); to use
>promises. But is it possible to have a promise as a return type in my .idl
>file (b2g)?
Something like Promise blah(); won't just work and I'm a bit lost :-)
___
dev-pla
2 matches
Mail list logo