mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-18 15:11:51 +00:00
Fix some extern "C".
git-svn-id: https://svn.eduke32.com/eduke32@6137 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
66f43bca24
commit
83c06a63b9
2 changed files with 16 additions and 5 deletions
|
@ -270,8 +270,6 @@ static FORCE_INLINE void sprite_tracker_hook(uintptr_t address);
|
|||
#define Tracker(Container, Type) Container##Tracker<Type>
|
||||
#define TrackerCast(x) x.cast()
|
||||
|
||||
extern "C" {
|
||||
|
||||
#else
|
||||
|
||||
#define Tracker(Container, Type) Type
|
||||
|
@ -475,6 +473,10 @@ static inline void inplace_vx_tweak_wall(walltypevx *vxwal, int32_t yaxp)
|
|||
|
||||
#include "clip.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
uint32_t mdanimtims;
|
||||
int16_t mdanimcur;
|
||||
|
@ -1344,6 +1346,10 @@ int32_t loaddefinitionsfile(const char *fn);
|
|||
// -2, board is dodgy
|
||||
int32_t loadoldboard(const char *filename, char fromwhere, vec3_t *dapos, int16_t *daang, int16_t *dacursectnum);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "hash.h"
|
||||
|
||||
#ifdef POLYMER
|
||||
|
@ -1354,6 +1360,10 @@ int32_t loadoldboard(const char *filename, char fromwhere, vec3_t *dapos, int16_
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
static FORCE_INLINE void push_nofog(void)
|
||||
{
|
||||
#ifdef USE_OPENGL
|
||||
|
|
|
@ -29,13 +29,14 @@ Modifications for JonoF's port by Jonathon Fowler (jf@jonof.id.au)
|
|||
|
||||
#ifndef keyboard_public_h_
|
||||
#define keyboard_public_h_
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "baselayer.h" // for the keyboard stuff
|
||||
#include "scancodes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef uint8_t kb_scancode;
|
||||
|
||||
#define MAXKEYBOARDSCAN 256
|
||||
|
|
Loading…
Reference in a new issue