ScalpiEditor

Diff
Login

Diff

Differences From Artifact [0a463e9bc2]:

To Artifact [6a3d93fb86]:


1810
1811
1812
1813
1814
1815
1816









1817
1818
1819
1820
1821
1822
1823
                    // nothing to do
                #else
                    #error "__target_os__ not implemented"
                #endif
            }
            
    // Scalpi









        // File
            // var __File_clear__
                void __ScalpiFile_clear__(
                    __OsFile__ file
                ) {
                    __OsFile_setPos__(file, 0);
                    __OsFile_truncate__(file);







>
>
>
>
>
>
>
>
>







1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
                    // nothing to do
                #else
                    #error "__target_os__ not implemented"
                #endif
            }
            
    // Scalpi
        // mem
            struct __ScalpiMemTree__ {
                struct __ScalpiMemTree__*     parent; // todo remove me. use link.list or __ ... 
                struct __ScalpiMemList__      childs;
                struct __ScalpiMemListLink__  link;
                size_t                        count;  // recurse. for get non recurse use childs.count
                size_t                        nested;
            };
            
        // File
            // var __File_clear__
                void __ScalpiFile_clear__(
                    __OsFile__ file
                ) {
                    __OsFile_setPos__(file, 0);
                    __OsFile_truncate__(file);