version 1.3, 2018/10/19 23:27:38 |
version 1.4, 2020/10/06 06:31:19 |
|
|
* 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_contrib2/asir2018/builtin/type.c,v 1.2 2018/09/28 08:20:27 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2018/builtin/type.c,v 1.3 2018/10/19 23:27:38 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
Obj t; |
Obj t; |
Z q; |
Z q; |
|
|
if ( t = (Obj)ARG0(arg) ) { |
if ( ( t = (Obj)ARG0(arg) ) != 0 ) { |
STOZ(OID(t),q); *rp = (Obj)q; |
STOZ(OID(t),q); *rp = (Obj)q; |
} else |
} else |
*rp = 0; |
*rp = 0; |
|
|
Obj t; |
Obj t; |
Z q; |
Z q; |
|
|
if ( t = (Obj)ARG0(arg) ) { |
if ( ( t = (Obj)ARG0(arg) ) != 0 ) { |
asir_assert(t,O_N,"ntype"); |
asir_assert(t,O_N,"ntype"); |
STOZ(NID(t),q); *rp = (Obj)q; |
STOZ(NID(t),q); *rp = (Obj)q; |
} else |
} else |