misc/libphyslayer/hwpacksmounter.h
author unc0rr
Wed, 19 Mar 2014 11:54:09 +0400
changeset 10204 50e52e511300
parent 10127 7f29a65aa1e4
child 10235 bafca1686867
permissions -rw-r--r--
Fix div by zero error in new generator

#ifndef HEDGEWARS_PACKAGES_MOUNTER_H
#define HEDGEWARS_PACKAGES_MOUNTER_H

#include "physfs.h"
#include "physfscompat.h"

#ifndef PAS2C
#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