Skip to content
Browse files

Add primClone and primToPlainObj

  • Loading branch information...
1 parent 636ebe0 commit 19404d970ea3b56c40a61bae524efd4349828f4c @norm2782 norm2782 committed Oct 29, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 uhc-jscript/src/Language/UHC/JScript/Primitives.hs
View
6 uhc-jscript/src/Language/UHC/JScript/Primitives.hs
@@ -89,3 +89,9 @@ modProtoAttr x f y = _modProtoAttr (toJS x) f (toJS y)
foreign import prim "primModProtoAttr"
_modProtoAttr :: JSString -> (a -> b) -> JSString -> IO ()
+foreign import prim "primClone"
+ primClone :: JSPtr a -> JSPtr a
+
+foreign import prim "primToPlainObj"
+ primToPlainObj :: JSPtr a -> JSPtr b
+

0 comments on commit 19404d9

Please sign in to comment.
Something went wrong with that request. Please try again.