From 9ae8841ec4720e74173e2f72fac33f0848bbf435 Mon Sep 17 00:00:00 2001 From: Wiimm Date: Sat, 8 May 2021 11:35:32 +0200 Subject: SZS v2.26a --- project/dclib/dclib-basics.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'project/dclib/dclib-basics.h') 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 -- cgit v1.3.1