Browse Source

fix compile errors

master
Gero Müller 1 year ago
parent
commit
f679e87e9f
4 changed files with 12 additions and 0 deletions
  1. +6
    -0
      .gitignore
  2. +1
    -0
      corona/src/Convert.cpp
  3. +1
    -0
      corona/src/OpenTGA.cpp
  4. +4
    -0
      squirrel/squirrel/squtils.h

+ 6
- 0
.gitignore View File

@@ -0,0 +1,6 @@
*.o
*.d
*.a

engine/log.txt
engine/redcore

+ 1
- 0
corona/src/Convert.cpp View File

@@ -5,6 +5,7 @@
*/
#include <map>
#include <utility>
#include <cstring>
#include "corona.h"
#include "Debug.h"
#include "SimpleImage.h"


+ 1
- 0
corona/src/OpenTGA.cpp View File

@@ -1,4 +1,5 @@
#include <algorithm>
#include <cstring>
#include "Debug.h"
#include "Open.h"
#include "SimpleImage.h"


+ 4
- 0
squirrel/squirrel/squtils.h View File

@@ -2,6 +2,10 @@
#ifndef _SQUTILS_H_
#define _SQUTILS_H_
void *sq_vm_malloc(SQUnsignedInteger size);
void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size);
void sq_vm_free(void *p,SQUnsignedInteger size);
#define sq_new(__ptr,__type) {__ptr=(__type *)sq_vm_malloc(sizeof(__type));new (__ptr) __type;}
#define sq_delete(__ptr,__type) {__ptr->~__type();sq_vm_free(__ptr,sizeof(__type));}
#define SQ_MALLOC(__size) sq_vm_malloc((__size));


Loading…
Cancel
Save