view tests/clib.urp @ 1429:eecbffc2b907

Fix C jsify[String|Char]
author Adam Chlipala <adam@chlipala.net>
date Fri, 25 Feb 2011 15:58:08 -0500
parents eac1974924bb
children
line wrap: on
line source
ffi test
include test.h
script http://localhost/test/test.js
link test.o
effectful Test.print
serverOnly Test.foo
clientOnly Test.bar
effectful Test.transactional
jsFunc Test.print=print
jsFunc Test.bar=bar