include/keima_util.h
author David Anderson <dvander@alliedmods.net>
Sun Aug 05 14:19:19 2012 -0700 (2012-08-05)
changeset 166 3ac2a36a7a0c
parent 105 35bacccdffcb
child 195 c1ba166f3fc4
permissions -rw-r--r--
Fixed IndexExpressions not computing slices for calls.
     1 /*
     2  * Copyright (C) 2004-2012 David Anderson
     3  *
     4  * This file is part of SourcePawn.
     5  *
     6  * SourcePawn is free software: you can redistribute it and/or modify it under
     7  * the terms of the GNU General Public License as published by the Free
     8  * Software Foundation, either version 3 of the License, or (at your option)
     9  * any later version.
    10  * 
    11  * SourcePawn is distributed in the hope that it will be useful, but WITHOUT ANY
    12  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    13  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    14  *
    15  * You should have received a copy of the GNU General Public License along with
    16  * SourcePawn. If not, see http://www.gnu.org/licenses/.
    17  */
    18 #ifndef _include_keima_util_h_
    19 #define _include_keima_util_h_
    20 
    21 #if defined(_MSC_VER)
    22 # if defined(KE_EXPORTING)
    23 #   define KE_EXPORT __declspec(dllexport)
    24 # elif defined(KE_IMPORTING)
    25 #   define KE_EXPORT __declspec(dllimport)
    26 # endif
    27 #endif
    28 
    29 #if !defined(KE_EXPORT)
    30 # define KE_EXPORT
    31 #endif
    32 
    33 #if defined(_MSC_VER) && _MSC_VER < 1600
    34 typedef __int8 int8_t;
    35 typedef unsigned __int8 uint8_t;
    36 typedef __int16 int16_t;
    37 typedef unsigned __int16 uint16_t;
    38 typedef __int32 int32_t;
    39 typedef unsigned __int32 uint32_t;
    40 typedef __int64 int64_t;
    41 typedef unsigned __int64 uint64_t;
    42 #else
    43 # include <stdint.h>
    44 #endif
    45 
    46 #endif // _include_keima_util_h_