view tests/clib.urp @ 1505:8c851e5508a7

Tutorial: up to First-Class Polymorphism
author Adam Chlipala <adam@chlipala.net>
date Sun, 17 Jul 2011 11:00:04 -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