annotate tests/clib.urp @ 1881:a5b08bdfa450

New header file scheme to support FFI code in either of C or C++ [based on suggestion by Ron de Bruijn]
author Adam Chlipala <adam@chlipala.net>
date Fri, 11 Oct 2013 17:15:28 -0400
parents eac1974924bb
children
rev   line source
adamc@767 1 ffi test
adamc@767 2 include test.h
adamc@767 3 script http://localhost/test/test.js
adamc@767 4 link test.o
adamc@767 5 effectful Test.print
adamc@767 6 serverOnly Test.foo
adamc@767 7 clientOnly Test.bar
adamc@771 8 effectful Test.transactional
adamc@767 9 jsFunc Test.print=print
adamc@767 10 jsFunc Test.bar=bar