Changeset 686 in dev


Ignore:
Timestamp:
Jul 13, 2008, 11:24:21 AM (13 years ago)
Author:
イグトランス (egtra)
Message:

lstr系の代わりにstr系を使用するよう変更

Location:
trunk/ab5.0/abdev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/Subroutine.cpp

    r608 r686  
    232232    //パラメータを整備
    233233    char *Parameter;
    234     Parameter=(char *)HeapAlloc(hHeap,0,lstrlen(ArrayElements)+lstrlen(rightSide)+32);
     234    Parameter=(char *)HeapAlloc(hHeap,0,lstrlen(ArrayElements)+(rightSide ? lstrlen(rightSide) : 0)+32);
    235235    lstrcpy(Parameter,ArrayElements);
    236236    if(rightSide){
     
    281281    //パラメータを整備
    282282    char *Parameter;
    283     Parameter=(char *)HeapAlloc(hHeap,0,lstrlen(ArrayElements)+lstrlen(rightSide)+32);
     283    Parameter=(char *)HeapAlloc(hHeap,0,lstrlen(ArrayElements)+(rightSide ? lstrlen(rightSide) : 0)+32);
    284284    lstrcpy(Parameter,ArrayElements);
    285285    if(rightSide){
  • trunk/ab5.0/abdev/compiler_x86/stdafx.h

    r648 r686  
    5858#include <DataTableGenerator.h>
    5959#include <BreakPoint.h>
     60
     61#define lstrlenA strlen
     62#define lstrcmpA strcmp
     63#define lstrcpyA strcpy
     64#define lstrcmpiA _stricmp
Note: See TracChangeset for help on using the changeset viewer.