亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? insfun.c

?? clips源代碼
?? C
?? 第 1 頁 / 共 4 頁
字號:
#if DEBUGGING_FUNCTIONS   if (ins->cls->traceSlots)     {      if (sp->desc->shared)        EnvPrintRouter(theEnv,WTRACE,"::= shared slot ");      else        EnvPrintRouter(theEnv,WTRACE,"::= local slot ");      EnvPrintRouter(theEnv,WTRACE,ValueToString(sp->desc->slotName->name));      EnvPrintRouter(theEnv,WTRACE," in instance ");      EnvPrintRouter(theEnv,WTRACE,ValueToString(ins->name));      EnvPrintRouter(theEnv,WTRACE," <- ");      if (sp->type != MULTIFIELD)        PrintAtom(theEnv,WTRACE,(int) sp->type,sp->value);      else        PrintMultifield(theEnv,WTRACE,(MULTIFIELD_PTR) sp->value,0,                        (long) (GetInstanceSlotLength(sp) - 1),TRUE);      EnvPrintRouter(theEnv,WTRACE,"\n");     }#endif   InstanceData(theEnv)->ChangesToInstances = TRUE;#if DEFRULE_CONSTRUCT   if (ins->cls->reactive && sp->desc->reactive)     {      /* ============================================         If we have changed a shared slot, we need to         perform a Rete update for every instance         which contains this slot         ============================================ */      if (sp->desc->shared)        {         sharedTraversalID = GetTraversalID(theEnv);         if (sharedTraversalID != -1)           {            NetworkModifyForSharedSlot(theEnv,sharedTraversalID,sp->desc->cls,sp->desc);            ReleaseTraversalID(theEnv);           }         else           {            PrintErrorID(theEnv,"INSFUN",6,FALSE);            EnvPrintRouter(theEnv,WERROR,"Unable to pattern-match on shared slot ");            EnvPrintRouter(theEnv,WERROR,ValueToString(sp->desc->slotName->name));            EnvPrintRouter(theEnv,WERROR," in class ");            EnvPrintRouter(theEnv,WERROR,EnvGetDefclassName(theEnv,(void *) sp->desc->cls));            EnvPrintRouter(theEnv,WERROR,".\n");           }        }      else        ObjectNetworkAction(theEnv,OBJECT_MODIFY,(INSTANCE_TYPE *) ins,(int) sp->desc->slotName->id);     }#endif   return(TRUE);  }/*******************************************************************  NAME         : ValidSlotValue  DESCRIPTION  : Determines if a value is appropriate                   for a slot-value  INPUTS       : 1) The value buffer                 2) Slot descriptor                 3) Instance for which slot is being checked                    (can be NULL)                 4) Buffer holding printout of the offending command                    (if NULL assumes message-handler is executing                     and calls PrintHandler for CurrentCore instead)  RETURNS      : TRUE if value is OK, FALSE otherwise  SIDE EFFECTS : Sets EvaluationError if slot is not OK  NOTES        : Examines all fields of a multi-field *******************************************************************/globle int ValidSlotValue(  void *theEnv,  DATA_OBJECT *val,  SLOT_DESC *sd,  INSTANCE_TYPE *ins,  char *theCommand)  {   register int violationCode;   /* ===================================      Special NoParamValue means to reset      slot to default value      =================================== */   if (GetpValue(val) == ProceduralPrimitiveData(theEnv)->NoParamValue)     return(TRUE);   if ((sd->multiple == 0) && (val->type == MULTIFIELD) &&                              (GetpDOLength(val) != 1))     {      PrintErrorID(theEnv,"INSFUN",7,FALSE);      PrintDataObject(theEnv,WERROR,val);      EnvPrintRouter(theEnv,WERROR," illegal for single-field ");      PrintSlot(theEnv,WERROR,sd,ins,theCommand);      EnvPrintRouter(theEnv,WERROR,".\n");      SetEvaluationError(theEnv,TRUE);      return(FALSE);     }   if (val->type == RVOID)     {      PrintErrorID(theEnv,"INSFUN",8,FALSE);      EnvPrintRouter(theEnv,WERROR,"Void function illegal value for ");      PrintSlot(theEnv,WERROR,sd,ins,theCommand);      EnvPrintRouter(theEnv,WERROR,".\n");      SetEvaluationError(theEnv,TRUE);      return(FALSE);     }   if (EnvGetDynamicConstraintChecking(theEnv))     {      violationCode = ConstraintCheckDataObject(theEnv,val,sd->constraint);      if (violationCode != NO_VIOLATION)        {         PrintErrorID(theEnv,"CSTRNCHK",1,FALSE);         if ((GetpType(val) == MULTIFIELD) && (sd->multiple == 0))           PrintAtom(theEnv,WERROR,GetMFType(GetpValue(val),GetpDOBegin(val)),                            GetMFValue(GetpValue(val),GetpDOEnd(val)));         else           PrintDataObject(theEnv,WERROR,val);         EnvPrintRouter(theEnv,WERROR," for ");         PrintSlot(theEnv,WERROR,sd,ins,theCommand);         ConstraintViolationErrorMessage(theEnv,NULL,NULL,0,0,NULL,0,                                         violationCode,sd->constraint,FALSE);         SetEvaluationError(theEnv,TRUE);         return(FALSE);        }     }   return(TRUE);  }/********************************************************  NAME         : CheckInstance  DESCRIPTION  : Checks to see if the first argument to                 a function is a valid instance  INPUTS       : Name of the calling function  RETURNS      : The address of the instance  SIDE EFFECTS : EvaluationError set and messages printed                 on errors  NOTES        : Used by Initialize and ModifyInstance ********************************************************/globle INSTANCE_TYPE *CheckInstance(  void *theEnv,  char *func)  {   INSTANCE_TYPE *ins;   DATA_OBJECT temp;   EvaluateExpression(theEnv,GetFirstArgument(),&temp);   if (temp.type == INSTANCE_ADDRESS)     {      ins = (INSTANCE_TYPE *) temp.value;      if (ins->garbage == 1)        {         StaleInstanceAddress(theEnv,func,0);         SetEvaluationError(theEnv,TRUE);         return(NULL);        }     }   else if ((temp.type == INSTANCE_NAME) ||            (temp.type == SYMBOL))     {      ins = FindInstanceBySymbol(theEnv,(SYMBOL_HN *) temp.value);      if (ins == NULL)        {         NoInstanceError(theEnv,ValueToString(temp.value),func);         return(NULL);        }     }   else     {      PrintErrorID(theEnv,"INSFUN",1,FALSE);      EnvPrintRouter(theEnv,WERROR,"Expected a valid instance in function ");      EnvPrintRouter(theEnv,WERROR,func);      EnvPrintRouter(theEnv,WERROR,".\n");      SetEvaluationError(theEnv,TRUE);      return(NULL);     }   return(ins);  }/***************************************************  NAME         : NoInstanceError  DESCRIPTION  : Prints out an appropriate error                  message when an instance cannot be                  found for a function  INPUTS       : 1) The instance name                 2) The function name  RETURNS      : Nothing useful  SIDE EFFECTS : None  NOTES        : None ***************************************************/globle void NoInstanceError(  void *theEnv,  char *iname,  char *func)  {   PrintErrorID(theEnv,"INSFUN",2,FALSE);   EnvPrintRouter(theEnv,WERROR,"No such instance ");   EnvPrintRouter(theEnv,WERROR,iname);   EnvPrintRouter(theEnv,WERROR," in function ");   EnvPrintRouter(theEnv,WERROR,func);   EnvPrintRouter(theEnv,WERROR,".\n");   SetEvaluationError(theEnv,TRUE);  }/***************************************************  NAME         : StaleInstanceAddress  DESCRIPTION  : Prints out an appropriate error                  message when an instance address                  is no longer valid  INPUTS       : The function name  RETURNS      : Nothing useful  SIDE EFFECTS : None  NOTES        : None ***************************************************/globle void StaleInstanceAddress(  void *theEnv,  char *func,  int whichArg)  {   PrintErrorID(theEnv,"INSFUN",4,FALSE);   EnvPrintRouter(theEnv,WERROR,"Invalid instance-address in function ");   EnvPrintRouter(theEnv,WERROR,func);   if (whichArg > 0)     {      EnvPrintRouter(theEnv,WERROR,", argument #");      PrintLongInteger(theEnv,WERROR,(long long) whichArg);     }   EnvPrintRouter(theEnv,WERROR,".\n");  }/**********************************************************************  NAME         : EnvGetInstancesChanged  DESCRIPTION  : Returns whether instances have changed                   (any were added/deleted or slot values were changed)                   since last time flag was set to FALSE  INPUTS       : None  RETURNS      : The instances-changed flag  SIDE EFFECTS : None  NOTES        : Used by interfaces to update instance windows **********************************************************************/globle int EnvGetInstancesChanged(  void *theEnv)  {   return(InstanceData(theEnv)->ChangesToInstances);  }/*******************************************************  NAME         : EnvSetInstancesChanged  DESCRIPTION  : Sets instances-changed flag (see above)  INPUTS       : The value (TRUE or FALSE)  RETURNS      : Nothing useful  SIDE EFFECTS : The flag is set  NOTES        : None *******************************************************/globle void EnvSetInstancesChanged(  void *theEnv,  int changed)  {   InstanceData(theEnv)->ChangesToInstances = changed;  }/*******************************************************************  NAME         : PrintSlot  DESCRIPTION  : Displays the name and origin of a slot  INPUTS       : 1) The logical output name                 2) The slot descriptor                 3) The instance source (can be NULL)                 4) Buffer holding printout of the offending command                    (if NULL assumes message-handler is executing                     and calls PrintHandler for CurrentCore instead)  RETURNS      : Nothing useful  SIDE EFFECTS : Message printed  NOTES        : None *******************************************************************/globle void PrintSlot(  void *theEnv,  char *logName,  SLOT_DESC *sd,  INSTANCE_TYPE *ins,  char *theCommand)  {   EnvPrintRouter(theEnv,logName,"slot ");   EnvPrintRouter(theEnv,logName,ValueToString(sd->slotName->name));   if (ins != NULL)     {      EnvPrintRouter(theEnv,logName," of instance [");      EnvPrintRouter(theEnv,logName,ValueToString(ins->name));      EnvPrintRouter(theEnv,logName,"]");     }   else if (sd->cls != NULL)     {      EnvPrintRouter(theEnv,logName," of class ");      EnvPrintRouter(theEnv,logName,EnvGetDefclassName(theEnv,(void *) sd->cls));     }   EnvPrintRouter(theEnv,logName," found in ");   if (theCommand != NULL)     EnvPrintRouter(theEnv,logName,theCommand);   else     PrintHandler(theEnv,logName,MessageHandlerData(theEnv)->CurrentCore->hnd,FALSE);  }/*****************************************************  NAME         : PrintInstanceNameAndClass  DESCRIPTION  : Displays an instance's name and class  INPUTS       : 1) Logical name of output                 2) The instance                 3) Flag indicating whether to                    print carriage-return at end  RETURNS      : Nothing useful  SIDE EFFECTS : Instnace name and class printed  NOTES        : None *****************************************************/globle void PrintInstanceNameAndClass(  void *theEnv,  char *logicalName,  INSTANCE_TYPE *theInstance,  intBool linefeedFlag)  {   EnvPrintRouter(theEnv,logicalName,"[");   EnvPrintRouter(theEnv,logicalName,EnvGetInstanceName(theEnv,(void *) theInstance));   EnvPrintRouter(theEnv,logicalName,"] of ");   PrintClassName(theEnv,logicalName,theInstance->cls,linefeedFlag);  }  /***************************************************  NAME         : PrintInstanceName  DESCRIPTION  : Used by the rule system commands                 such as (matches) and (agenda)                 to print out the name of an instance  INPUTS       : 1) The logical output name                 2) A pointer to the instance  RETURNS      : Nothing useful  SIDE EFFECTS : Name of instance printed  NOTES        : None

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
男男成人高潮片免费网站| 日本三级韩国三级欧美三级| 国产精品福利在线播放| 欧美激情一区二区三区| 亚洲男人电影天堂| 午夜成人免费电影| 国产**成人网毛片九色| 欧美日韩精品一区二区天天拍小说| 日本丶国产丶欧美色综合| 欧美日韩小视频| 国产精品嫩草99a| 丁香天五香天堂综合| 欧美日韩免费观看一区二区三区| 日韩精品一区二区在线| 中文字幕在线不卡| 老司机精品视频导航| 色呦呦网站一区| 国产亚洲精品免费| 日本午夜精品视频在线观看| 99精品黄色片免费大全| 日韩精品一区二| 午夜av区久久| 欧美午夜精品电影| 亚洲男帅同性gay1069| 大桥未久av一区二区三区中文| 日韩欧美在线网站| 亚洲成人一二三| 欧美色倩网站大全免费| 一区二区三区产品免费精品久久75| 成人蜜臀av电影| 中文字幕免费一区| 99久久婷婷国产| 亚洲欧美日韩国产中文在线| 成人永久免费视频| 国产精品乱人伦中文| 国内精品久久久久影院色| 亚洲国产精华液网站w| 国产精品毛片久久久久久久| 粉嫩嫩av羞羞动漫久久久| 精品成人a区在线观看| 国产精品一区二区男女羞羞无遮挡 | 国产欧美精品一区二区三区四区 | 亚洲福利一二三区| 91精品婷婷国产综合久久性色| 亚洲电影一区二区三区| 欧美理论在线播放| 极品美女销魂一区二区三区免费| 26uuu另类欧美| 成人网页在线观看| 首页亚洲欧美制服丝腿| 精品电影一区二区三区| 91原创在线视频| 青青草一区二区三区| 久久久精品免费免费| 欧美日韩亚洲综合一区二区三区| 日本不卡不码高清免费观看| 亚洲素人一区二区| 欧美亚州韩日在线看免费版国语版| 久久er99精品| 亚洲图片一区二区| 国产精品网友自拍| 日韩视频中午一区| 欧美日韩一级视频| 成人深夜在线观看| 精品一区二区精品| 亚洲国产日韩综合久久精品| 国产精品乱人伦中文| 精品精品国产高清一毛片一天堂| 欧美日韩国产中文| 91小视频在线免费看| 成人天堂资源www在线| 国产精品性做久久久久久| 日韩二区三区在线观看| 午夜亚洲福利老司机| 一区二区在线观看视频在线观看| 久久伊99综合婷婷久久伊| 欧美电影精品一区二区| 91精品国产丝袜白色高跟鞋| 欧美天堂一区二区三区| 在线亚洲人成电影网站色www| 99久久精品一区二区| 成人蜜臀av电影| 99国产精品一区| 色网综合在线观看| 欧美日韩免费观看一区二区三区| 欧美视频一区在线| 7777女厕盗摄久久久| 国产网站一区二区三区| 欧美本精品男人aⅴ天堂| 精品久久久久久久久久久久久久久久久| 69av一区二区三区| 久久久久久久久久久久久女国产乱| 久久综合九色欧美综合狠狠| 国产精品欧美一区二区三区| 夜夜嗨av一区二区三区中文字幕| 天天操天天综合网| 国产99久久久久| 欧美视频日韩视频在线观看| 久久免费电影网| 一二三四社区欧美黄| 激情国产一区二区| 色国产精品一区在线观看| 欧美精品一区二| 一个色在线综合| 国产麻豆9l精品三级站| 欧美三级电影在线看| 久久精品视频在线看| 丝袜美腿一区二区三区| 一本到高清视频免费精品| 欧美一区二区三区视频免费播放| 一区免费观看视频| 国产一区二区h| 精品日韩在线一区| 热久久国产精品| 一本久久a久久精品亚洲| 国产精品免费aⅴ片在线观看| 美女视频免费一区| 51午夜精品国产| 一区二区不卡在线播放| 91福利国产成人精品照片| 亚洲天天做日日做天天谢日日欢| 国产乱码精品一区二区三区av| 欧美一区二区性放荡片| 视频一区中文字幕| 欧美裸体bbwbbwbbw| 日本午夜一本久久久综合| 3d动漫精品啪啪1区2区免费 | av日韩在线网站| 国产精品久久久久久久久搜平片| 成人性视频免费网站| 亚洲国产成人自拍| 91视频你懂的| 亚洲成人www| 精品区一区二区| 粉嫩欧美一区二区三区高清影视| 国产精品不卡在线观看| 91蜜桃在线观看| 欧美aaa在线| 中文字幕欧美激情| 欧美精品自拍偷拍动漫精品| 日本成人在线视频网站| 久久久久久久久久久久久夜| 色综合中文字幕国产| 日韩国产精品久久| 国产精品色在线观看| 日韩一区二区三区电影在线观看| 久久精品99久久久| 亚洲色图欧美在线| 久久久久久亚洲综合影院红桃 | 亚洲日韩欧美一区二区在线| 欧美日本在线看| 粉嫩av亚洲一区二区图片| 男女男精品视频网| 欧美精品1区2区| 成人精品视频一区二区三区尤物| 亚洲国产中文字幕在线视频综合| 国产日本亚洲高清| 欧美xxxxxxxxx| 欧美一区二区性放荡片| 欧美午夜精品一区| 成人av在线播放网址| 精品一区二区三区免费毛片爱| 亚洲黄一区二区三区| 国产精品国产精品国产专区不蜜| 久久青草国产手机看片福利盒子| 日本精品一级二级| 成人深夜福利app| 国产黄色成人av| 国产传媒欧美日韩成人| 韩国三级中文字幕hd久久精品| 美女网站在线免费欧美精品| 蜜乳av一区二区| 蜜桃视频一区二区三区在线观看| 亚洲午夜视频在线| 奇米色一区二区三区四区| 亚洲午夜在线电影| 免费亚洲电影在线| 另类综合日韩欧美亚洲| 国产一区在线观看视频| hitomi一区二区三区精品| 久久成人久久鬼色| 国产成人精品一区二| 成人99免费视频| 91小视频免费看| 日韩精品一区二区三区在线观看| 亚洲精品在线网站| 一区二区三区四区精品在线视频 | 色综合天天视频在线观看| 欧美一级片在线看| 国产精品女上位| 日韩和欧美一区二区三区| 国产美女视频91| 欧美亚洲另类激情小说| 精品国产一区二区三区久久久蜜月 | 国产精品动漫网站| 美女视频免费一区| 欧美专区在线观看一区| 久久久久久久电影| 日本网站在线观看一区二区三区 | 亚洲国产精品久久一线不卡|