version 1.1, 2018/09/19 05:45:06 |
version 1.2, 2018/09/28 08:20:27 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM$ |
* $OpenXM: OpenXM_contrib2/asir2018/builtin/type.c,v 1.1 2018/09/19 05:45:06 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
Z q; |
Z q; |
|
|
if ( t = (Obj)ARG0(arg) ) { |
if ( t = (Obj)ARG0(arg) ) { |
STOQ(OID(t),q); *rp = (Obj)q; |
STOZ(OID(t),q); *rp = (Obj)q; |
} else |
} else |
*rp = 0; |
*rp = 0; |
} |
} |
|
|
|
|
if ( t = (Obj)ARG0(arg) ) { |
if ( t = (Obj)ARG0(arg) ) { |
asir_assert(t,O_N,"ntype"); |
asir_assert(t,O_N,"ntype"); |
STOQ(NID(t),q); *rp = (Obj)q; |
STOZ(NID(t),q); *rp = (Obj)q; |
} else |
} else |
*rp = 0; |
*rp = 0; |
} |
} |