1b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet/*
2b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    SDL - Simple DirectMedia Layer
34458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall    Copyright (C) 1997-2012 Sam Lantinga
4b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet
5b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    This library is free software; you can redistribute it and/or
6b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    modify it under the terms of the GNU Library General Public
7b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    License as published by the Free Software Foundation; either
8b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    version 2 of the License, or (at your option) any later version.
9b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet
10b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    This library is distributed in the hope that it will be useful,
11b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    but WITHOUT ANY WARRANTY; without even the implied warranty of
12b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    Library General Public License for more details.
14b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet
15b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    You should have received a copy of the GNU Library General Public
16b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    License along with this library; if not, write to the Free
17b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet
19b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    Sam Lantinga
20b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet    slouken@libsdl.org
21b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet*/
22b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet
234458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall/**
244458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall *  @file close_code.h
254458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall *  This file reverses the effects of begin_code.h and should be included
264458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall *  after you finish any function and structure declarations in your headers
274458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall */
28b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet
29b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#undef _begin_code_h
30b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet
314458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall/**
324458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall *  @file close_code.h
334458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall *  Reset structure packing at previous byte alignment
344458c4364a99c5d8d124b19eec146b0998c4895aJesse Hall */
35b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__WATCOMC__)  || defined(__BORLANDC__)
36b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#ifdef __BORLANDC__
37b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#pragma nopackwarning
38b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#endif
39b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#if (defined(__MWERKS__) && defined(__MACOS__))
40b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#pragma options align=reset
41b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#pragma enumsalwaysint reset
42b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#else
43b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#pragma pack(pop)
44b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#endif
45b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet#endif /* Compiler needs structure packing set */
46b565d46b836401fa5dac23f9f8f0841c7a41e58eXavier Ducrohet
47