欧美日韩一区二区高清,久久视频这里只有精品,超黄网站在线观看,成人av影院在线观看

以文本方式查看主題

-  曙海教育集團論壇  (http://www.martymets.com/bbs/index.asp)
--  C語言開發  (http://www.martymets.com/bbs/list.asp?boardid=62)
----  沒有見過的c語言用法,求救  (http://www.martymets.com/bbs/dispbbs.asp?boardid=62&id=2409)

--  作者:wangxinxin
--  發布時間:2010-12-10 11:39:46
--  沒有見過的c語言用法,求救
//-------------------------------------------------------------------------------------
unsigned char IfInterTimeOK(tagInterTime * ptime) {
        if(ptime->ucDelay == 0) return 0;
    ptime->ucCount = (ptime->ucCount) + 1;
    if(ptime->ucCount >= ptime->ucDelay) {
            ptime->ucCount = 0;
        return 1;
    }
    return 0;
}
//-----------------------------------------------------------------
typedef struct {
        unsigned char ucDelay, ucCount;
}tagInterTime;                                                                        // Control the interface control time
unsigned char IfInterTimeOK(tagInterTime * ptime);// 1:Action OK
//---------------------------------------------------------------------------------
#define __INTERTIME_DECL(x, y)        SUBLIB_EXT tagInterTime g_it##x;  
#define __IT_START(x, y)                (g_it##x##.ucDelay = y, g_it##x##.ucCount = y)
#define __IT_STOP(x, y)                        g_it##x##.ucDelay = 0
#define __IT_OK(x, y)                        IfInterTimeOK(&g_it##x)
//------------------------------------------------------------------------------
#define IT_DECL(x)                                __INTERTIME_DECL(x)
#define IT_START(x)                                __IT_START(x)
#define IT_STOP(x)                                __IT_STOP(x)
#define IT_OK(x)                                __IT_OK(x)

#define AAA                        A, 25

下面這是用法,不知道是什么意思?
IT_START(AAA);   
if(IT_OK(AAA)) IT_START(AAA);
IT_STOP(AAA);
忘c語言高手指教一下

主站蜘蛛池模板: 新河县| 阳山县| 葵青区| 太康县| 镇康县| 竹北市| 马尔康县| 闽清县| 武义县| 广丰县| 肃宁县| 成安县| 弥渡县| 宣城市| 和顺县| 垦利县| 布拖县| 呼和浩特市| 星座| 崇义县| 师宗县| 宜良县| 华池县| 东宁县| 黄骅市| 通城县| 靖安县| 浑源县| 桃源县| 达拉特旗| 钟祥市| 澎湖县| 德阳市| 日喀则市| 赣州市| 章丘市| 罗山县| 福泉市| 宁陕县| 赤城县| 邢台市|