Mercurial > urweb
comparison tests/test.c @ 764:7f653298dd66
C FFI compiler options
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 30 Apr 2009 17:15:14 -0400 |
parents | |
children | a28982de5645 |
comparison
equal
deleted
inserted
replaced
763:af41ec2f302a | 764:7f653298dd66 |
---|---|
1 #include "../include/urweb.h" | |
2 | |
3 typedef uw_Basis_string uw_Test_t; | |
4 | |
5 uw_Test_t uw_Test_create(uw_context ctx, uw_Basis_string s) { | |
6 return s; | |
7 } | |
8 | |
9 uw_Basis_string uw_Test_out(uw_context ctx, uw_Test_t s) { | |
10 return s; | |
11 } | |
12 | |
13 uw_Test_t uw_Test_frob(uw_context ctx, uw_Test_t s1, uw_Basis_string s2) { | |
14 return uw_Basis_strcat(ctx, s1, s2); | |
15 } |