Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1957: memmove.patch

File memmove.patch, 2.4 kB (added by mwarning, 2 years ago)
  • tango/util/container/more/Vector.d

    old new  
    1515module tango.util.container.more.Vector; 
    1616 
    1717private import tango.core.Exception : ArrayBoundsException; 
     18private import tango.stdc.string : memmove; 
    1819 
    19 private extern(C) void memmove (void*, void*, int); 
    20  
    2120/****************************************************************************** 
    2221 
    2322        A vector of the given value-type V, with maximum depth Size. Note 
  • tango/io/Path.d

    old new  
    6262 
    6363public  import  tango.core.Exception : IOException, IllegalArgumentException; 
    6464 
    65 private extern (C) void memmove (void* dst, void* src, uint bytes)
     65private import tango.stdc.string : memmove
    6666 
    6767 
    6868/******************************************************************************* 
  • tango/io/FilePath.d

    old new  
    2727 
    2828private import  tango.io.model.IFile : FileConst, FileInfo; 
    2929 
    30 /******************************************************************************* 
     30private import tango.stdc.string : memmove; 
    3131 
    32 *******************************************************************************/ 
    33  
    34 private extern (C) void memmove (void* dst, void* src, uint bytes); 
    35  
    3632/******************************************************************************* 
    3733 
    3834        Models a file path. These are expected to be used as the constructor 
  • tango/text/Text.d

    old new  
    211211 
    212212private import  Integer = tango.text.convert.Integer; 
    213213 
     214private import tango.stdc.string : memmove; 
    214215 
    215 /******************************************************************************* 
    216216 
    217 *******************************************************************************/ 
    218  
    219 private extern (C) void memmove (void* dst, void* src, uint bytes); 
    220  
    221  
    222217/******************************************************************************* 
    223218 
    224219        The mutable Text class actually implements the full API, whereas