misc/libphyslayer/hwpacksmounter.h
author Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Thu, 09 Jan 2014 19:10:12 +0100
branchwebgl
changeset 9984 84835d0ceb64
parent 9264 21df1a0ec9ed
child 10015 4feced261c68
permissions -rw-r--r--
Fixed build failure to a missing math library linked with BUILD_ENGINE_C=1 and clang

#ifndef HEDGEWARS_PACKAGES_MOUNTER_H
#define HEDGEWARS_PACKAGES_MOUNTER_H

#include "physfs.h"

#ifndef STRINIT
#include "lua.h"
#endif

#ifdef __cplusplus
extern "C" {
#endif

PHYSFS_DECL void hedgewarsMountPackages();
PHYSFS_DECL void hedgewarsMountPackage(char * fileName);

PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size);
PHYSFS_DECL void physfsReaderSetBuffer(void *buffer);

#ifdef __cplusplus
}
#endif

#endif