Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | /* ------------------------------------------------------------ |
2 | * VALUE - Just pass straight through unmodified | |
3 | * ------------------------------------------------------------ */ | |
4 | ||
5 | typedef unsigned long VALUE; | |
6 | ||
7 | %typemap(in) VALUE "$1 = $input;"; | |
8 | %typemap(out) VALUE "$result = $1;"; | |
9 | ||
10 | %typemap(directorin) VALUE "$input = $1;"; | |
11 | %typemap(directorout) VALUE "$result = $input;"; | |
12 | ||
13 | %typecheck(SWIG_TYPECHECK_POINTER) VALUE "$1 = ($input != T_NONE);"; |