19682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/*
29682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    SDL - Simple DirectMedia Layer
39682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Copyright (C) 1997-2012 Sam Lantinga
49682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
59682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is free software; you can redistribute it and/or
69682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    modify it under the terms of the GNU Library General Public
79682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License as published by the Free Software Foundation; either
89682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    version 2 of the License, or (at your option) any later version.
99682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is distributed in the hope that it will be useful,
119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    but WITHOUT ANY WARRANTY; without even the implied warranty of
129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Library General Public License for more details.
149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    You should have received a copy of the GNU Library General Public
169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License along with this library; if not, write to the Free
179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Sam Lantinga
209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    slouken@libsdl.org
219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall*/
229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/**
249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall *  @file close_code.h
259682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall *  This file reverses the effects of begin_code.h and should be included
269682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall *  after you finish any function and structure declarations in your headers
279682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall */
289682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
299682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#undef _begin_code_h
309682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
319682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/**
329682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall *  @file close_code.h
339682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall *  Reset structure packing at previous byte alignment
349682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall */
359682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__WATCOMC__)  || defined(__BORLANDC__)
369682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#ifdef __BORLANDC__
379682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#pragma nopackwarning
389682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif
399682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#if (defined(__MWERKS__) && defined(__MACOS__))
409682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#pragma options align=reset
419682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#pragma enumsalwaysint reset
429682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#else
439682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#pragma pack(pop)
449682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif
459682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif /* Compiler needs structure packing set */
469682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
47