Changeset 46 in dev for BasicCompiler_Common/error.cpp


Ignore:
Timestamp:
Feb 6, 2007, 1:19:17 AM (17 years ago)
Author:
dai_9181
Message:

VarPtrの戻り値の型をVoidPtrではなく、ポインタレベルを増加した型にした。
関連関数のパラメータにconstを適用。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/error.cpp

    r45 r46  
    364364
    365365#define STRING_SYSTEM_DECLAREHANDLE "*_System_DeclareHandle_"
    366 void DifferentTypeError(int VarType,LONG_PTR VarIndex,int CalcType,LONG_PTR CalcIndex,int iWarning,char *pszFuncName,int ParmNum){
     366void DifferentTypeError(const int VarType,LONG_PTR VarIndex,const int CalcType,LONG_PTR CalcIndex,const int iWarning,const char *pszFuncName,const int ParmNum){
    367367    //////////////////////////
    368368    // キャストに関する警告
     
    396396}
    397397
    398 bool CheckDifferentType(int VarType,LONG_PTR lpVarIndex,int CalcType,LONG_PTR lpCalcIndex,char *pszFuncName,int ParmNum){
     398bool CheckDifferentType(const int VarType,const LONG_PTR lpVarIndex,int CalcType,const LONG_PTR lpCalcIndex,const char *pszFuncName,const int ParmNum){
    399399
    400400    if(VarType==DEF_OBJECT||CalcType==DEF_OBJECT){
Note: See TracChangeset for help on using the changeset viewer.