SQConvert::SQAutoFreePointers Struct Reference

Pointers assigned to this class will be free'd when this instance comes out of scope. More...

#include <squirrel_helper.hpp>

Inheritance diagram for SQConvert::SQAutoFreePointers:

SmallVector< void *, 1 >

Detailed Description

Pointers assigned to this class will be free'd when this instance comes out of scope.

Useful to make sure you can use strdup(), without leaking memory.

Definition at line 24 of file squirrel_helper.hpp.


The documentation for this struct was generated from the following file:

Generated on Mon Dec 14 21:00:33 2009 for OpenTTD by  doxygen 1.5.6