… | … | ||
---|---|---|---|
256 | else | 256 | else |
257 | put (k, (const char *)0); | 257 | put (k, (const char *)0); |
258 | } | 258 | } |
259 | 259 | ||
260 | bool save (const char *filename); | 260 | bool save (const char *filename); |
261 | char *as_string (); // like strdup | ||
261 | 262 | ||
262 | operator bool () { return !!av; } | 263 | operator bool () { return !!av; } |
263 | }; | 264 | }; |
264 | 265 | ||
265 | // compatibility support, should be removed when no longer needed | 266 | // compatibility support, should be removed when no longer needed |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |