diff options
author | axel <axel@liljencrantz.se> | 2005-10-25 01:26:25 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-25 01:26:25 +1000 |
commit | 277f9b7e607e40ee84ac5c59fcc878d34cb586e2 (patch) | |
tree | dba9925930f8f011dda4b603919b3e0e38bea85c /expand.h | |
parent | f8de9de13de17a4dadab7d2fb1c2094c6a5b105c (diff) |
Huge API documentation cleanup
darcs-hash:20051024152625-ac50b-41503feb4ea8d428c5b30c159aaae0c8f7ae46a2.gz
Diffstat (limited to 'expand.h')
-rw-r--r-- | expand.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -10,6 +10,9 @@ */ #ifndef FISH_EXPAND_H +/** + Header guard +*/ #define FISH_EXPAND_H #include <wchar.h> @@ -51,7 +54,7 @@ #define DIRECTORIES_ONLY 32 -/* +/** Use unencoded private-use keycodes for internal characters */ #define EXPAND_RESERVED 0xf000 @@ -122,11 +125,9 @@ wchar_t *expand_one( wchar_t *in, int flag ); /** Expand backslashed escapes and substitute them with their unescaped counterparts. Also optionally change the wildcards, the tilde - character and a few more into constants which are defined to be - outside of the valid character space, but still inside the valid - space for a wchar_t. This assumes that a wchar_t is at least 32 - bits long AND that the characterset is UCS4 or some other 31-bit - character set. + character and a few more into constants which are defined in a + private use area of Unicode. This assumes wchar_t is a unicode + character. character set. The result must be free()d. The original string is not modified. If an invalid sequence is specified, 0 is returned. |