⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gbx_stack.h

📁 Gambas is a graphical development environment based on a Basic interpreter, like Visual Basic. It us
💻 H
字号:
/***************************************************************************  stack.h  Stack management  (c) 2000-2004 Beno顃 Minisini <gambas@users.sourceforge.net>  This program is free software; you can redistribute it and/or modify  it under the terms of the GNU General Public License as published by  the Free Software Foundation; either version 1, or (at your option)  any later version.  This program is distributed in the hope that it will be useful,  but WITHOUT ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  GNU General Public License for more details.  You should have received a copy of the GNU General Public License  along with this program; if not, write to the Free Software  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.***************************************************************************/#ifndef __GBX_STACK_H#define __GBX_STACK_H#include "gbx_value.h"#include "gb_pcode.h"typedef  struct {    VALUE *bp;        /* variables locales */    CLASS *cp;        /* classe */    char *op;         /* objet */    VALUE *ep;        /* erreur */    FUNCTION *fp;     /* fonction */    PCODE *pc;        /* instruction */    PCODE *ec;        /* instruction si erreur */    PCODE *et;        /* sauvegarde opour un TRY */    }  PACKED STACK_CONTEXT;#ifndef __GBX_STACK_CEXTERN char *STACK_base;EXTERN long STACK_size;EXTERN char *STACK_limit;EXTERN int STACK_frame_count;EXTERN STACK_CONTEXT *STACK_frame;#endifPUBLIC void STACK_init(void);PUBLIC void STACK_exit(void);PUBLIC void STACK_check(int need);PUBLIC void STACK_push_frame(STACK_CONTEXT *context);PUBLIC void STACK_pop_frame(STACK_CONTEXT *context);PUBLIC boolean STACK_has_error_handler(void);#define STACK_get_current() ((STACK_frame_count > 0) ? STACK_frame : NULL)#endif /* */

⌨️ 快捷键说明

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