native.h

来自「C++的一个好库。。。现在很流行」· C头文件 代码 · 共 26 行

H
26
字号
/* Copyright David Abrahams 2003. Distributed under the Boost */
/* Software License, Version 1.0. (See accompanying */
/* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */

#ifndef NATIVE_H_VP_2003_12_09
#define NATIVE_H_VP_2003_12_09

#include "rules.h"

struct native_rule_t
{
    char* name;
    argument_list* arguments;
    PARSE* procedure;
};

/* MSVC debugger gets confused unless this is provided */
typedef struct native_rule_t native_rule_t ; 

void declare_native_rule(char* module, char* rule, char** args, 
                         LIST*(*f)(PARSE*, FRAME*));



#endif

⌨️ 快捷键说明

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