[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.9.3 Working around library misfeatures

As mentioned already (Implementing new library functions), some common problems with external libraries that are worthwhile in other respects are that they may generate unwelcome console output while running, they may follow ill defined memory management policies, and they may handle exceptions just by crashing themselves along with the client module.

An accumulation of techniques for coping with these issues (short of modifying the library source) has been collected into the API and made available by way of the header file ‘mwrap.h’. This section briefly documents how they might be put to use.


This document was generated on November 8, 2012 using texi2html 1.82.