project_files/hwc/rtl/system.h
changeset 10838 2abe883c9c21
parent 10566 cc90ea6448c7
child 10910 df11dea74701
equal deleted inserted replaced
10837:1b7a4d3111ea 10838:2abe883c9c21
    24  */
    24  */
    25 string255   fpcrtl_copy(string255 s, Integer Index, Integer Count);
    25 string255   fpcrtl_copy(string255 s, Integer Index, Integer Count);
    26 astring     fpcrtl_copyA(astring s, Integer Index, Integer Count);
    26 astring     fpcrtl_copyA(astring s, Integer Index, Integer Count);
    27 
    27 
    28 /*
    28 /*
       
    29  * Insert a shortstring in another at a specified index
       
    30  */
       
    31 void        fpcrtl_insert__vars(string255 *src, string255 *dst, SizeInt index);
       
    32 #define     fpcrtl_insert(src, dst, index)                  fpcrtl_insert__vars(&(src), &(dst), index);
       
    33 #define     fpcrtl_Insert                                   fpcrtl_insert
       
    34 
       
    35 /*
    29  * Delete removes Count characters from string S, starting at position Index.
    36  * Delete removes Count characters from string S, starting at position Index.
    30  * All characters after the deleted characters are shifted Count positions to the left,
    37  * All characters after the deleted characters are shifted Count positions to the left,
    31  * and the length of the string is adjusted.
    38  * and the length of the string is adjusted.
    32  */
    39  */
    33 #define     fpcrtl_delete(s, index, count)                  fpcrtl_delete__vars(&(s), index, count)
    40 #define     fpcrtl_delete(s, index, count)                  fpcrtl_delete__vars(&(s), index, count)
    34 void        __attribute__((overloadable))                   fpcrtl_delete__vars(string255 *s, SizeInt index, SizeInt count);
    41 void        __attribute__((overloadable))                   fpcrtl_delete__vars(string255 *s, SizeInt index, SizeInt count);
    35 void        __attribute__((overloadable))                   fpcrtl_delete__vars(astring *s, SizeInt index, SizeInt count);
    42 void        __attribute__((overloadable))                   fpcrtl_delete__vars(astring *s, SizeInt index, SizeInt count);
       
    43 #define     fpcrtl_Delete                                   fpcrtl_delete
    36 
    44 
    37 string255   fpcrtl_floatToStr(double n);
    45 string255   fpcrtl_floatToStr(double n);
    38 
    46 
    39 /*
    47 /*
    40  * Move data from one location in memory to another
    48  * Move data from one location in memory to another