We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a15ebbc + e654eb2 commit 71a8af6Copy full SHA for 71a8af6
1 file changed
utf8.h
@@ -31,7 +31,9 @@ char *reencode_string_len(const char *in, int insz,
31
const char *in_encoding,
32
int *outsz);
33
#else
34
-#define reencode_string_len(a,b,c,d,e) NULL
+static inline char *reencode_string_len(const char *a, int b,
35
+ const char *c, const char *d, int *e)
36
+{ if (e) *e = 0; return NULL; }
37
#endif
38
39
static inline char *reencode_string(const char *in,
0 commit comments