src/SDL_android.h
author Sam Lantinga <slouken@libsdl.org>
Thu, 13 Jan 2011 09:15:51 -0800
changeset 4994 e4ed74189d63
child 4995 9f9bea41e88f
permissions -rw-r--r--
Added missing header
slouken@4994
     1
/*
slouken@4994
     2
    SDL - Simple DirectMedia Layer
slouken@4994
     3
    Copyright (C) 1997-2010 Sam Lantinga
slouken@4994
     4
slouken@4994
     5
    This library is free software; you can redistribute it and/or
slouken@4994
     6
    modify it under the terms of the GNU Lesser General Public
slouken@4994
     7
    License as published by the Free Software Foundation; either
slouken@4994
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@4994
     9
slouken@4994
    10
    This library is distributed in the hope that it will be useful,
slouken@4994
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@4994
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@4994
    13
    Lesser General Public License for more details.
slouken@4994
    14
slouken@4994
    15
    You should have received a copy of the GNU Lesser General Public
slouken@4994
    16
    License along with this library; if not, write to the Free Software
slouken@4994
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@4994
    18
slouken@4994
    19
    Sam Lantinga
slouken@4994
    20
    slouken@libsdl.org
slouken@4994
    21
*/
slouken@4994
    22
#include "SDL_config.h"
slouken@4994
    23
slouken@4994
    24
/* Set up for C function definitions, even when using C++ */
slouken@4994
    25
#ifdef __cplusplus
slouken@4994
    26
/* *INDENT-OFF* */
slouken@4994
    27
extern "C" {
slouken@4994
    28
/* *INDENT-ON* */
slouken@4994
    29
#endif
slouken@4994
    30
slouken@4994
    31
/* Interface from the SDL library into the Android Java activity */
slouken@4994
    32
void Android_JNI_CreateContext();
slouken@4994
    33
void Android_JNI_SwapWindow();
slouken@4994
    34
void Android_JNI_UpdateAudioBuffer(unsigned char *buf, int len);
slouken@4994
    35
slouken@4994
    36
/* Ends C function definitions when using C++ */
slouken@4994
    37
#ifdef __cplusplus
slouken@4994
    38
/* *INDENT-OFF* */
slouken@4994
    39
}
slouken@4994
    40
/* *INDENT-ON* */
slouken@4994
    41
#endif
slouken@4994
    42
slouken@4994
    43
/* vi: set ts=4 sw=4 expandtab: */