diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-08-12 09:31:38 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-08-12 14:31:15 +0200 |
commit | 6fe216642a1003a2fda2b8332199ff84c8712984 (patch) | |
tree | e811fecbccfe1e66cf589099c035b8ee766aa451 /testprogs/win32/midltests/valid/midltests_fixed_size_in_array_01.idl | |
parent | f7e14a8e5e65b15d83dc1be3fe2dc47b5c46d764 (diff) | |
download | samba-6fe216642a1003a2fda2b8332199ff84c8712984.tar.gz samba-6fe216642a1003a2fda2b8332199ff84c8712984.tar.bz2 samba-6fe216642a1003a2fda2b8332199ff84c8712984.zip |
testprogs/midltests: add some example IDL files and there midltests.exe output
metze
Diffstat (limited to 'testprogs/win32/midltests/valid/midltests_fixed_size_in_array_01.idl')
-rw-r--r-- | testprogs/win32/midltests/valid/midltests_fixed_size_in_array_01.idl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testprogs/win32/midltests/valid/midltests_fixed_size_in_array_01.idl b/testprogs/win32/midltests/valid/midltests_fixed_size_in_array_01.idl new file mode 100644 index 0000000000..170b147953 --- /dev/null +++ b/testprogs/win32/midltests/valid/midltests_fixed_size_in_array_01.idl @@ -0,0 +1,29 @@ +#ifndef MIDLTESTS_C_CODE + +[ + uuid("225b9fcb-eb3d-497b-8b0b-591f049a2507"), + pointer_default(unique) +] +interface midltests +{ + long midltests_fn( + [in] long a[2] + ); +} + +#elif MIDLTESTS_C_CODE + +static void midltests(void) +{ + long a[2] = { 1, 2 }; + cli_midltests_fn(a); +} + +long srv_midltests_fn(long a[2]) +{ + printf("srv_midltests_fn: Start\n"); + printf("srv_midltests_fn: End\n"); + return 0x65757254; +} + +#endif |