packages feed

libxls-0.2: include/xlstypes.h

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 * This file is part of libxls -- A multiplatform, C library
 * for parsing Excel(TM) files.
 *
 * libxls is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * libxls is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with libxls.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * Copyright 2004 Komarov Valery
 * Copyright 2006 Christophe Leitienne
 * Copyright 2008 David Hoerl
 */

#include <stdint.h>

#ifndef XLS_TYPES_INC
#define XLS_TYPES_INC

#pragma pack(1)

typedef unsigned char		BYTE;//  __attribute__ ((aligned (1)));	// 1 bytes
typedef uint16_t			WORD;// __attribute__ ((aligned (1)));	// 2 bytes
typedef uint32_t			DWORD;//  __attribute__ ((aligned (1)));	// 4 bytes

#endif