Permalink
Browse files

Add mkObj to primitives

  • Loading branch information...
1 parent 5c8314d commit dbdc7dfba4867ac7dc7fb15912d543a2e918dc81 @norm2782 norm2782 committed Nov 9, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 uhc-jscript/src/Language/UHC/JScript/Primitives.hs
@@ -94,3 +94,6 @@ foreign import prim "primClone"
foreign import prim "primToPlainObj"
primToPlainObj :: JSPtr a -> JSPtr b
+foreign import jscript "{}"
+ mkObj :: a -> IO (JSPtr b)
+

0 comments on commit dbdc7df

Please sign in to comment.