• Michiel Verloop's avatar
    Improvements to ctformatting.c to keep the API of ctinfo.c the same. · 19fe7806
    Michiel Verloop authored
    • CTFcreateMessageContinued can now be called without providing the multiline header.
    • The 'current' multiline header is stored as a static variable in ctformatting.c.
    • The functions CTFcreateMessage(Begin)(Loc) assign the multiline header.
    • CTFcreateMessageEnd frees the multiline header and sets it to NULL.
    • The CTFcreateMessageBegin functions call CTFcreateMessageContinued to parse remaining_lines instead of returning them unparsed.
    • Updated tests for the changed behaviour.
    19fe7806