I malloced them, so I have to free them; but the underlying type is
`const char *'. Add the necessary casts. This is actually a legitimate
use, rather than covering a Pyrex deficiency.
These are the last compiler warnings.
me.ctx.indent = NULL
def __init__(me, indent = '\n', maxline = 72):
if me.ctx.indent:
- xfree(me.ctx.indent)
+ xfree(<void *>me.ctx.indent)
me.ctx.indent = xstrdup(indent)
me.ctx.maxline = maxline
def __dealloc__(me):
if me.ctx.indent:
- xfree(me.ctx.indent)
+ xfree(<void *>me.ctx.indent)
property indent:
def __get__(me):
return me.ctx.indent
def __set__(me, indent):
if me.ctx.indent:
- xfree(me.ctx.indent)
+ xfree(<void *>me.ctx.indent)
me.ctx.indent = xstrdup(indent)
property maxline:
def __get__(me):