Changeset 40 in dev for BasicCompiler64/Opcode.h


Ignore:
Timestamp:
Jan 28, 2007, 3:48:22 AM (17 years ago)
Author:
dai_9181
Message:

ByRef修飾子を関数戻り値とDimステートメントで指定可能にした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler64/Opcode.h

    r38 r40  
    5252
    5353//変数の種類
    54 #define NON_VAR         0
    55 #define VAR_GLOBAL      1   //Global Variable
    56 #define VAR_LOCAL       2   //Local Variable
    57 #define VAR_REFLOCAL    3   //Local Refference Variable
    58 #define VAR_DIRECTMEM   4   //Direct memory
     54#define NON_VAR             0
     55#define VAR_GLOBAL          1   //Global Variable
     56#define VAR_LOCAL           2   //Local Variable
     57#define VAR_REFLOCAL        3   //Local Refference Variable
     58#define VAR_DIRECTMEM       5   //Direct memory
     59
    5960
    6061extern int cp;
     
    245246void SetVariableFromRax(int VarType,int CalcType,RELATIVE_VAR *pRelativeVar);
    246247void OpcodeCalc(char *Command);
     248void SetRefVariable( const char *varname, const char *expression );
    247249
    248250//NumOpe.cpp
     
    310312void GetWithName(char *buffer);
    311313void SetThisPtrToReg(int reg);
    312 BOOL GetVarOffset(bool isErrorEnabled,bool isWriteAccess,char *NameBuffer,int *pType,RELATIVE_VAR *pRelativeVar,LONG_PTR *plpIndex,int *pss=0);
     314BOOL GetVarOffset(bool isErrorEnabled,bool isWriteAccess,const char *NameBuffer,int *pType,RELATIVE_VAR *pRelativeVar,LONG_PTR *plpIndex,int *pss=0);
    313315BOOL SetInitGlobalData(int offset,int type,LONG_PTR lpIndex,int *SubScripts,char *InitBuf);
    314 #define DIMFLAG_INITDEBUGVAR            1
    315 #define DIMFLAG_NONCALL_CONSTRACTOR     2
    316 #define DIMFLAG_STATIC                  4
    317 #define DIMFLAG_CONST                   8
     316#define DIMFLAG_INITDEBUGVAR            0x01
     317#define DIMFLAG_NONCALL_CONSTRACTOR     0x02
     318#define DIMFLAG_STATIC                  0x04
     319#define DIMFLAG_CONST                   0x08
    318320void OpcodeDim(char *Parameter,DWORD dwFlag);
    319321void SetVarPtrToReg(int reg,RELATIVE_VAR *pRelativeVar);
Note: See TracChangeset for help on using the changeset viewer.