本文整理汇总了C++中CHECKOFLOW函数的典型用法代码示例。如果您正苦于以下问题:C++ CHECKOFLOW函数的具体用法?C++ CHECKOFLOW怎么用?C++ CHECKOFLOW使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了CHECKOFLOW函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: prim_event_count
void
prim_event_count(PRIM_PROTOTYPE)
{
CHECKOP(0);
CHECKOFLOW(1);
result = muf_event_count(fr);
PushInt(result);
}
示例2: prim_over
void
prim_over(PRIM_PROTOTYPE)
{
CHECKOP_READONLY(2);
CHECKOFLOW(1);
copyinst(&arg[*top - 2], &arg[*top]);
(*top)++;
}
示例3: prim_mode
void
prim_mode(PRIM_PROTOTYPE)
{
CHECKOP(0);
result = fr->multitask;
CHECKOFLOW(1);
PushInt(result);
}
示例4: prim_epsilon
void
prim_epsilon(PRIM_PROTOTYPE)
{
CHECKOP(0);
fresult = DBL_EPSILON;
CHECKOFLOW(1);
PushFloat(fresult);
}
示例5: prim_caller
void
prim_caller(PRIM_PROTOTYPE)
{
CHECKOP(0);
ref = (dbref) fr->caller.st[fr->caller.top - 1];
CHECKOFLOW(1);
PushObject(ref);
}
示例6: prim_pid
void
prim_pid(PRIM_PROTOTYPE)
{
CHECKOP(0);
CHECKOFLOW(1);
result = fr->pid;
PushInt(result);
}
示例7: prim_over
void
prim_over(PRIM_PROTOTYPE)
{
EXPECT_READ_STACK(2);
CHECKOFLOW(1);
copyinst(&arg[*top - 2], &arg[*top]);
(*top)++;
}
示例8: prim_error_num
void
prim_error_num(PRIM_PROTOTYPE)
{
CHECKOP(0);
CHECKOFLOW(1);
result = ERROR_NUM;
PushInt(result);
}
示例9: prim_gmtoffset
void
prim_gmtoffset(PRIM_PROTOTYPE)
{
CHECKOP(0);
CHECKOFLOW(1);
result = get_tz_offset();
PushInt(result);
}
示例10: prim_pi
void
prim_pi(PRIM_PROTOTYPE)
{
CHECKOP(0);
fresult = F_PI;
CHECKOFLOW(1);
PushFloat(fresult);
}
示例11: prim_is_error
void
prim_is_error(PRIM_PROTOTYPE)
{
CHECKOP(0);
CHECKOFLOW(1);
result = ((fr->error.is_flags) != 0);
PushInt(result);
}
示例12: prim_systime
void
prim_systime(PRIM_PROTOTYPE)
{
CHECKOP(0);
result = time(NULL);
CHECKOFLOW(1);
PushInt(result);
}
示例13: prim_deep_copy
void
prim_deep_copy(PRIM_PROTOTYPE)
{
EXPECT_READ_STACK(1);
CHECKOFLOW(1);
deep_copyinst(&arg[*top - 1], &arg[*top], fr->pinning);
(*top)++;
}
示例14: prim_frand
void
prim_frand(PRIM_PROTOTYPE)
{
CHECKOP(0);
CHECKOFLOW(1);
fresult = _int_f_rand();
PushFloat( fresult );
}
示例15: prim_inf
void
prim_inf(PRIM_PROTOTYPE)
{
CHECKOP(0);
fresult = INF;
CHECKOFLOW(1);
PushFloat(fresult);
}