Changeset 521 for trunk


Ignore:
Timestamp:
Jun 21, 2008, 8:01:01 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

表記揺れ、ミスなど修正

Location:
trunk/ab5.0/ablib/src
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/Classes/ActiveBasic/Strings/SPrintF.ab

    r468 r521  
    917917
    918918/*!
     919@brief  IntegerConvertTraits用。変換関数へのポインタ。
     920@author Egtra
     921@date   2008/06/08
     922*/
     923TypeDef ConvertFunc = *Function(buf As *Char, x As QWord, flags As FormatFlags) As DWord
     924
     925/*!
     926@brief  IntegerConvertTraits用。接頭辞取得関数へのポインタ。
     927@author Egtra
     928@date   2008/06/08
     929*/
     930TypeDef PrefixFunc = *Function(x As QWord, flags As FormatFlags) As String
     931
     932/*!
    919933@brief  FormatIntegerExへ渡す変換特性を表す構造体型。
    920934@author Egtra
     
    926940Type IntegerConvertTraits
    927941    '!変換を行う関数へのポインタ。
    928     Convert As *Function(buf As *Char, x As QWord, flags As FormatFlags) As DWord
     942    Convert As ConvertFunc
    929943    '!接頭辞を取得する関数へのポインタ。
    930     Prefix As *Function(x As QWord, flags As FormatFlags) As String
     944    Prefix As PrefixFunc
    931945End Type
    932946
  • trunk/ab5.0/ablib/src/Classes/System/Text/StringBuilder.ab

    r497 r521  
    362362        separateBuffer()
    363363        Dim i As Long
    364         Dim last = ELM(start + count)
     364        Dim last = start + count - 1'ELM(start + count)
    365365        For i = start To last
    366366            If chars[i] = oldChar Then
  • trunk/ab5.0/ablib/src/api_imm.sbp

    r497 r521  
    358358Declare Function ImmGetImeMenuItems Lib "imm32" Alias "ImmGetImeMenuItemsA" (himc As HIMC, dwFlags As DWord, dwType As DWord, ByRef ImeParentMenu As IMEMENUITEMINFOA, lpImeMenu As LPIMEMENUITEMINFOA, dwSoze As DWord) As DWord
    359359#endif
    360 Declare Function ImmDisableTextFrameService Lib "imm32"(idThread As DWord) As BOOL
     360Declare Function ImmDisableTextFrameService Lib "imm32" (idThread As DWord) As BOOL
    361361
    362362' wParam for WM_IME_CONTROL
  • trunk/ab5.0/ablib/src/api_reg.sbp

    r497 r521  
    129129Declare Function RegFlushKey Lib "advapi32" (hKey As HKEY) As Long
    130130'#if _WIN32_WINNT >= &h0310 'AB
    131 Declare Function RegGetKeySecurity Lib "advapi32"(hKey As HKEY, SecurityInformation As SECURITY_INFORMATION, pSecurityDescriptor As *SECURITY_DESCRIPTOR, ByRef lpcbSecurityDescriptor As DWord) As Long
     131Declare Function RegGetKeySecurity Lib "advapi32" (hKey As HKEY, SecurityInformation As SECURITY_INFORMATION, pSecurityDescriptor As *SECURITY_DESCRIPTOR, ByRef lpcbSecurityDescriptor As DWord) As Long
    132132'#endif
    133133Declare Function RegLoadKey Lib "advapi32" Alias _FuncName_RegLoadKey (hKey As HKEY, pSubKey As PCTSTR, pFile As PCTSTR) As Long
  • trunk/ab5.0/ablib/src/api_shell.sbp

    r497 r521  
    367367
    368368' ShellApi.h
    369 Declare Function SHEmptyRecycleBin Lib"shell32" Alias _FuncName_SHEmptyRecycleBin (hwnd As HWND, pszRootPath As LPCTSTR, dwFlags As DWord) As HRESULT
     369Declare Function SHEmptyRecycleBin Lib "shell32" Alias _FuncName_SHEmptyRecycleBin (hwnd As HWND, pszRootPath As LPCTSTR, dwFlags As DWord) As HRESULT
    370370
    371371' ShlObj.h
  • trunk/ab5.0/ablib/src/api_system.sbp

    r497 r521  
    487487Declare Function FindNextFile Lib "kernel32" Alias _FuncName_FindNextFile (hFindFile As HANDLE, ByRef FindFildData As WIN32_FIND_DATA) As BOOL
    488488Declare Function FlushFileBuffers Lib "kernel32" (hFile As HANDLE) As BOOL
    489 Declare Function FlushInstructionCache Lib "kernel32"(hProcess As HANDLE, pBaseAddress As VoidPtr, Size As SIZE_T) As BOOL
     489Declare Function FlushInstructionCache Lib "kernel32" (hProcess As HANDLE, pBaseAddress As VoidPtr, Size As SIZE_T) As BOOL
    490490
    491491Const FORMAT_MESSAGE_ALLOCATE_BUFFER = &H00000100
  • trunk/ab5.0/ablib/src/api_window.sbp

    r497 r521  
    15521552Declare Function SetTimer Lib "user32" (hWnd As HWND, nIDEvent As ULONG_PTR, nElapse As DWord, lpTimerFunc As TIMERPROC) As ULONG_PTR
    15531553
    1554 Declare Function SetWindowContextHelpId Lib "user32"(hwnd As HWND, dwContextHelpId As DWord) As BOOL
     1554Declare Function SetWindowContextHelpId Lib "user32" (hwnd As HWND, dwContextHelpId As DWord) As BOOL
    15551555#ifdef _WIN64
    15561556Declare Function SetWindowLong Lib "user32" Alias _FuncName_SetWindowLongPtr (hWnd As HWND, nIndex As Long, NewLong As LONG_PTR) As LONG_PTR
  • trunk/ab5.0/ablib/src/api_winsock2.sbp

    r497 r521  
    119119
    120120Type netent
    121     FAR * n_name As *Byte
    122     FAR * FAR * n_aliases As **Byte
     121    n_name As *Byte
     122    n_aliases As **Byte
    123123    n_addrtyp As Integer
    124124    n_net As DWord
Note: See TracChangeset for help on using the changeset viewer.