2018-05-01 20:51:43 +02:00
|
|
|
/*
|
|
|
|
android_lib.h - dynamic library code for Android OS
|
|
|
|
Copyright (C) 2018 Flying With Gauss
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/sor modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program 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 General Public License for more details.
|
|
|
|
*/
|
|
|
|
#pragma once
|
2019-10-30 14:46:18 +01:00
|
|
|
#if XASH_ANDROID
|
2018-05-01 20:51:43 +02:00
|
|
|
#ifndef ANDROID_LIB_H
|
|
|
|
#define ANDROID_LIB_H
|
|
|
|
|
2019-10-31 16:34:21 +01:00
|
|
|
#define Platform_POSIX_LoadLibrary( x ) ANDROID_LoadLibrary(( x ))
|
|
|
|
#define Platform_POSIX_GetProcAddress( x, y ) ANDROID_GetProcAddress(( x ), ( y ))
|
2019-10-30 14:46:18 +01:00
|
|
|
|
2018-05-01 20:51:43 +02:00
|
|
|
void *ANDROID_LoadLibrary( const char *dllname );
|
|
|
|
void *ANDROID_GetProcAddress( void *hInstance, const char *name );
|
|
|
|
|
|
|
|
#endif // ANDROID_LIB_H
|
2019-10-30 14:46:18 +01:00
|
|
|
#endif // XASH_ANDROID
|