Kakadu / lablqml

Interfacing Qt/QML with OCaml. Formely known as lablqt
http://kakadu.github.io/lablqml
GNU Lesser General Public License v2.1
159 stars 17 forks source link

Return abstract types from C using caml_alloc_small(1, Abstract_tag) #7

Closed Kakadu closed 12 years ago

Kakadu commented 13 years ago
_ans = caml_alloc_small(1, Abstract_tag);
_ans = (value)(new QWidget());
CAMLreturn(ans);