view tests/clib.urp @ 1234:e799c8df3146

Catching lame FFI applications
author Adam Chlipala <adamc@hcoop.net>
date Tue, 13 Apr 2010 11:15:43 -0400
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