File: typedefs.idl

package info (click to toggle)
camlidl 1.05-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 872 kB
  • ctags: 1,131
  • sloc: ml: 4,894; ansic: 940; cpp: 897; makefile: 294; sh: 182
file content (13 lines) | stat: -rw-r--r-- 306 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Typedefs */

typedef int t0;

typedef [abstract] int t1;

typedef [abstract,finalize(t2_final),compare(t2_compare)] int t2;

typedef [abstract,ml2c(t3_ml2c),c2ml(t3_c2ml)] int t3;

quote(C, "void t3_ml2c(value v, t3 * c) { *c = Int_val(v); }")

quote(C, "value t3_c2ml(t3 * c) { return Val_int(*c); }")