~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/misc/blob.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman, Matthijs Kooijman
  • Date: 2009-10-01 22:52:59 UTC
  • mfrom: (1.1.8 upstream) (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091001225259-5kpkp4sthbszpyif
[ Matthijs Kooijman ]
* New upstream release
* Use printf instead of echo -en in openttd-wrapper to make it POSIX
  compatible (Closes: #547758).
* Remove three patches that are now included in upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: blob.hpp 15718 2009-03-15 00:32:18Z rubidium $ */
 
1
/* $Id: blob.hpp 17516 2009-09-12 20:44:12Z rubidium $ */
2
2
 
3
3
/** @file blob.hpp Support for storing random binary data. */
4
4
 
297
297
        /** all deallocations should happen here */
298
298
        static FORCEINLINE void RawFree(CHdr *p)
299
299
        {
 
300
                /* In case GCC warns about the following, see GCC's PR38509 why it is bogus. */
300
301
                free(p);
301
302
        }
302
303
        /** fixing the four bytes at the end of blob data - useful when blob is used to hold string */