Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / amd64 / share / swig / 1.3.26 / ruby / rubyobject.swg
CommitLineData
920dae64
AT
1/* ------------------------------------------------------------
2 * VALUE - Just pass straight through unmodified
3 * ------------------------------------------------------------ */
4
5typedef 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);";