Mercurial > urweb
annotate tests/clib.urp @ 1836:276fa06428ba
Ignore polymorphism in JavaScript calls to custom FFI functions, allowing a kind of simple dynamic typing (unsafe, of course)
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 11 Dec 2012 15:58:23 -0500 |
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 |