samples.h

来自「PB 熟悉的哥们希望大家可以互相学习一下」· C头文件 代码 · 共 28 行

H
28
字号
/************************************************************
 *                                                          *
 * Copyright (c) 2001-2007 McObject LLC. All Right Reserved.*
 *                                                          *
 ************************************************************/

/* Common defines used throughout sample code
 */

#ifndef SAMPLES_H_
    #define SAMPLES_H_

    #include "simple.h"

    #define NUMOBJECTS    10

    /* 
     * Function prototypes
     */

    void showMem(mco_db_h db);
    int newobj(mco_db_h db, int id0, uint4 vh);
    void cursor(mco_db_h db);
    void showStat(mco_db_h db, uint2 class_code);
    int find_and_delete(mco_db_h db, uint4 vh);
    void showStat(mco_db_h db, uint2 class_code);
#endif /* SAMPLES_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?