Differences From Artifact [0a463e9bc2]:
- Executable file se.c — part of check-in [8b18c4709c] at 2025-04-28 15:40:20 on branch trunk — esc is move cursor to start of line in flat mode (user: Scalpi size: 105307)
To Artifact [6a3d93fb86]:
- Executable file se.c — part of check-in [c6e3a53ebe] at 2025-04-29 06:56:09 on branch trunk — moved Tree to C (user: Scalpi size: 105759)
| ︙ | ︙ | |||
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);
|
| ︙ | ︙ |