Last change
on this file was 745, checked in by Silvan Scherrer, 13 years ago |
Samba Server: updated trunk to 3.6.0
|
File size:
523 bytes
|
Line | |
---|
1 | #ifndef MIDLTESTS_C_CODE
|
---|
2 |
|
---|
3 | [
|
---|
4 | uuid("225b9fcb-eb3d-497b-8b0b-591f049a2507"),
|
---|
5 | pointer_default(unique)
|
---|
6 | ]
|
---|
7 | interface midltests
|
---|
8 | {
|
---|
9 | long midltests_fn(
|
---|
10 | [in,out,ref,string] wchar_t *s
|
---|
11 | );
|
---|
12 | }
|
---|
13 |
|
---|
14 | #elif MIDLTESTS_C_CODE
|
---|
15 |
|
---|
16 | static void midltests(void)
|
---|
17 | {
|
---|
18 | wchar_t s[] = { 's', 'a', 'm', 'b', 'a', 0 };
|
---|
19 |
|
---|
20 | cli_midltests_fn(s);
|
---|
21 | }
|
---|
22 |
|
---|
23 | long srv_midltests_fn(wchar_t *s)
|
---|
24 | {
|
---|
25 | printf("srv_midltests_fn: Start\n");
|
---|
26 | s[1] = 0;
|
---|
27 | s[2] = 'M';
|
---|
28 | s[5] = '4';
|
---|
29 | printf("srv_midltests_fn: End\n");
|
---|
30 | return 0x65757254;
|
---|
31 | }
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.