Ignore:
Timestamp:
Mar 19, 2012, 1:59:48 AM (13 years ago)
Author:
イグトランス (egtra)
Message:

egtraブランチの内容をマージ。

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ab5.0/abdev

    • Property svn:ignore set to
      *.opensdf
      *.sdf
      *.suo
      *.user
      int
      ipch
      out
  • trunk/ab5.0/abdev/BasicCompiler_Common/StrOperation.cpp

    r736 r828  
    11#include "stdafx.h"
    2 
    3 void KillSpaces(char *str1,char *str2){
     2#include <abdev/ab_common/include/ab_common.h>
     3#include "StrOperation.h"
     4#include "common.h"
     5
     6void KillSpaces(char const *str1,char *str2){
    47    int i,i2,i3,IsStr;
    58    for(i=0,i2=0,IsStr=0;;i++,i2++){
     
    3033    }
    3134}
    32 void KillStringSpaces(char *str){
    33     char *s2;
    34 
    35     extern HANDLE hHeap;
    36     s2=(char *)HeapAlloc(hHeap,0,lstrlen(str)+1);
    37     lstrcpy(s2,str);
    38     KillSpaces(s2,str);
    39     HeapDefaultFree(s2);
    40     return;
     35void KillStringSpaces(char *str)
     36{
     37    std::string s2(str);
     38    KillSpaces(s2.c_str(), str);
    4139}
    4240BOOL RemoveStringQuotes(char *str){
     
    362360    }
    363361}
    364 const std::string &FormatEscapeSequenceStringToDefaultString( const std::string &source )
     362std::string FormatEscapeSequenceStringToDefaultString( const std::string &source )
    365363{
    366364    int maxLength = (int)source.size();
Note: See TracChangeset for help on using the changeset viewer.