diff options
| author | Wiimm <wiimm@wiimm.de> | 2021-05-08 11:35:32 +0200 |
|---|---|---|
| committer | Wiimm <wiimm@wiimm.de> | 2021-05-08 11:35:32 +0200 |
| commit | 9ae8841ec4720e74173e2f72fac33f0848bbf435 (patch) | |
| tree | cdce547c82e5f4e0078e908ad1b86a152bd24c45 /project/dclib/dclib-basics.h | |
| parent | f33ad95520f6c6bb8f192c8bcd1c17cf40ba6b6b (diff) | |
SZS v2.26a
Diffstat (limited to '')
| -rw-r--r-- | project/dclib/dclib-basics.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/project/dclib/dclib-basics.h b/project/dclib/dclib-basics.h index 80913e7..95e47bb 100644 --- a/project/dclib/dclib-basics.h +++ b/project/dclib/dclib-basics.h @@ -565,12 +565,14 @@ void be16n ( u16 * dest, const u16 * src, int n ); void be32n ( u32 * dest, const u32 * src, int n ); void bef4n ( float32 * dest, const float32 * src, int n ); void le16n ( u16 * dest, const u16 * src, int n ); +void le32n ( u32 * dest, const u32 * src, int n ); void lef4n ( float32 * dest, const float32 * src, int n ); void write_be16n ( u16 * dest, const u16 * src, int n ); void write_be32n ( u32 * dest, const u32 * src, int n ); void write_bef4n ( float32 * dest, const float32 * src, int n ); void write_le16n ( u16 * dest, const u16 * src, int n ); +void write_le32n ( u32 * dest, const u32 * src, int n ); void write_lef4n ( float32 * dest, const float32 * src, int n ); //----------------------------------------------------------------------------- @@ -1368,6 +1370,9 @@ ccp PathAllocPPE ( ccp path1, ccp path2, ccp ext ); static inline ccp PathCatPPE ( char *buf, size_t bufsize, ccp path1, ccp path2, ccp ext ) { return PathCatBufPPE(buf,bufsize,path1,path2,ext); } +// like PathCatPP(), but ignores path2, if path1 is not empty and not a directory +ccp PathCatDirP ( char * buf, size_t bufsize, ccp path1, ccp path2 ); + // Same as PathCatPP*(), but use 'base' as prefix for relative paths. // If 'base' is NULL (but not empty), use getcwd() instead. // PathCatBufBP() and PathCatBP() are special: path can be part of buf |
