File: imports.idl

package info (click to toggle)
camlidl 1.02-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,244 kB
  • ctags: 1,161
  • sloc: ml: 4,547; ansic: 951; cpp: 877; makefile: 324; sh: 56
file content (13 lines) | stat: -rw-r--r-- 291 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test import statements */

import "structs.idl";
import "unix.idl";

int bar1([in] struct s1 * s);
void bar2([out] struct s1 * s);

int openfile([in,string] char * name,
             [in,set] enum open_flags flags,
             [in] int perms)
  {| _res = open(name, flags, perms);
  |};