Ignore:
Timestamp:
Sep 24, 2008, 2:36:26 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

性能がよいというdlmallocを導入。

File:
1 edited

Legend:

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

    r702 r751  
    232232    //パラメータを整備
    233233    char *Parameter;
    234     Parameter=(char *)HeapAlloc(hHeap,0,lstrlen(ArrayElements)+(rightSide ? lstrlen(rightSide) : 0)+32);
     234    Parameter=(char *)malloc(lstrlen(ArrayElements)+(rightSide ? lstrlen(rightSide) : 0)+32);
    235235    lstrcpy(Parameter,ArrayElements);
    236236    if(rightSide){
     
    255255    }
    256256
    257     HeapDefaultFree(Parameter);
     257    free(Parameter);
    258258
    259259    return true;
Note: See TracChangeset for help on using the changeset viewer.