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 31 of file squirrel_helper.hpp.


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

Generated on Fri Feb 4 20:55:15 2011 for OpenTTD by  doxygen 1.6.1