move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)

remove MEM_sys_types.h which was a duplicate.
This commit is contained in:
Campbell Barton
2013-05-28 19:35:26 +00:00
parent 60befcdc62
commit 225c5fee6b
161 changed files with 83 additions and 307 deletions

View File

@@ -37,7 +37,7 @@ typedef unsigned long uintptr_t;
#if defined(_WIN32) && !defined(__MINGW32__)
/* The __intXX are built-in types of the visual complier! So we don't
need to include anything else here.
This typedefs should be in sync with types from MEM_sys_types.h */
This typedefs should be in sync with types from BLI_sys_types.h */
typedef signed __int8 int8_t;
typedef signed __int16 int16_t;

View File

@@ -43,7 +43,7 @@
#include <functional>
#include "MEM_sys_types.h"
#include "../../source/blender/blenlib/BLI_sys_types.h"
enum {
empty_tag = 0x0,

View File

@@ -10,7 +10,6 @@ set(INC
../../mikktspace
../../../source/blender/makesdna
../../../source/blender/makesrna
../../../source/blender/blenloader
${CMAKE_BINARY_DIR}/source/blender/makesrna/intern
)

View File

@@ -87,7 +87,6 @@ add_library(blenfont_lib ${SRC_NEW})
# grr, blenfont needs BLI
include_directories(
"../../../source/blender/blenlib"
"../../../source/blender/blenloader"
)
add_library(bli_lib
"../../../source/blender/blenlib/intern/fileops.c"

View File

@@ -35,7 +35,6 @@ set(SRC
./intern/mallocn.c
MEM_guardedalloc.h
MEM_sys_types.h
)
if(WIN32 AND NOT UNIX)

View File

@@ -61,7 +61,9 @@
#define __MEM_GUARDEDALLOC_H__
#include <stdio.h> /* needed for FILE* */
#include "MEM_sys_types.h" /* needed for uintptr_t */
/* needed for uintptr_t, exception, dont use BLI anywhere else in MEM_* */
#include "../../source/blender/blenlib/BLI_sys_types.h"
/* some GNU attributes are only available from GCC 4.3 */
#define MEM_GNU_ATTRIBUTES (defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 403))

View File

@@ -1,142 +0,0 @@
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
*
* The Original Code is: all of this file.
*
* Contributor(s): none yet.
*
* ***** END GPL LICENSE BLOCK *****
*/
/** \file MEM_sys_types.h
* \ingroup MEM
*
* A platform-independent definition of [u]intXX_t
* Plus the accompanying header include for htonl/ntohl
*
* This file includes <sys/types.h> to define [u]intXX_t types, where
* XX can be 8, 16, 32 or 64. Unfortunately, not all systems have this
* file.
* - Windows uses __intXX compiler-builtin types. These are signed,
* so we have to flip the signs.
* For these rogue platforms, we make the typedefs ourselves.
*
*/
/*
// DG: original BLO_sys_types.h is in source/blender/blenkernel
// but is not allowed be accessed here because of bad-level-call
// jesterKing: I've renamed this to MEM_sys_types.h, because otherwise
// doxygen would get a conflict
*/
#ifndef __MEM_SYS_TYPES_H__
#define __MEM_SYS_TYPES_H__
#ifdef __cplusplus
extern "C" {
#endif
#if defined(_WIN32) && !defined(FREE_WINDOWS)
/* The __intXX are built-in types of the visual complier! So we don't
* need to include anything else here. */
typedef signed __int8 int8_t;
typedef signed __int16 int16_t;
typedef signed __int32 int32_t;
typedef signed __int64 int64_t;
typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
#ifndef _INTPTR_T_DEFINED
#ifdef _WIN64
typedef __int64 intptr_t;
#else
typedef long intptr_t;
#endif
#define _INTPTR_T_DEFINED
#endif
#ifndef _UINTPTR_T_DEFINED
#ifdef _WIN64
typedef unsigned __int64 uintptr_t;
#else
typedef unsigned long uintptr_t;
#endif
#define _UINTPTR_T_DEFINED
#endif
#elif defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__)
/* Linux-i386, Linux-Alpha, Linux-ppc */
#include <stdint.h>
/* XXX */
#ifndef UINT64_MAX
# define UINT64_MAX 18446744073709551615
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
#endif
#elif defined (__APPLE__)
#include <inttypes.h>
#elif defined(FREE_WINDOWS)
#include <stdint.h>
#else
/* FreeBSD, Solaris */
#include <sys/types.h>
#endif /* ifdef platform for types */
#ifdef _WIN32
#ifndef FREE_WINDOWS
#ifndef htonl
#define htonl(x) correctByteOrder(x)
#endif
#ifndef ntohl
#define ntohl(x) correctByteOrder(x)
#endif
#endif
#elif defined (__FreeBSD__) || defined (__OpenBSD__)
#include <sys/param.h>
#elif defined (__APPLE__)
#include <sys/types.h>
#else /* sun linux */
#include <netinet/in.h>
#endif /* ifdef platform for htonl/ntohl */
#ifdef __cplusplus
}
#endif
#endif /* __MEM_SYS_TYPES_H__ */

View File

@@ -48,7 +48,8 @@
#define MAP_FAILED ((void *)-1)
#include "MEM_sys_types.h" // needed for intptr_t
/* needed for uintptr_t, exception, dont use BLI anywhere else in MEM_* */
#include "../../source/blender/blenlib/BLI_sys_types.h"
void *mmap(void *start, size_t len, int prot, int flags, int fd, off_t offset);
intptr_t munmap(void *ptr, intptr_t size);

View File

@@ -30,7 +30,6 @@
#include <stddef.h>
#include "guardedalloc/MEM_guardedalloc.h"
#include "guardedalloc/MEM_sys_types.h"
template<typename _Tp>
struct MEM_Allocator

View File

@@ -42,7 +42,7 @@
/*
// DG: original BLO_sys_types.h is in source/blender/blenkernel
// DG: original BLI_sys_types.h is in source/blender/blenkernel
// but is not allowed be accessed here because of bad-level-call
// jesterKing: renamed to superlu_sys_types.h
*/

View File

@@ -32,7 +32,6 @@ SConscript(['avi/SConscript',
'bmesh/SConscript',
'blenkernel/SConscript',
'blenlib/SConscript',
'blenloader/SConscript',
'gpu/SConscript',
'editors/SConscript',
'imbuf/SConscript',

View File

@@ -53,7 +53,7 @@
#ifndef __AVI_AVI_H__
#define __AVI_AVI_H__
#include "MEM_sys_types.h"
#include "BLI_sys_types.h"
#include <stdio.h> /* for FILE */
typedef struct _AviChunk {

View File

@@ -43,8 +43,8 @@
#endif
#include "MEM_guardedalloc.h"
#include "MEM_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"
#include "BLI_fileops.h"

View File

@@ -25,7 +25,6 @@ set(INC
.
../blenkernel
../blenlib
../blenloader
../editors/include
../makesdna
../makesrna

View File

@@ -38,7 +38,6 @@ incs = [
'#/extern/glew/include',
'../blenkernel',
'../blenlib',
'../blenloader',
'../editors/include',
'../imbuf',
'../makesdna',

View File

@@ -38,7 +38,7 @@
extern "C" {
#endif
#include "../blenloader/BLO_sys_types.h" /* XXX, should have a more generic include for this */
#include "BLI_sys_types.h" /* XXX, should have a more generic include for this */
#include "BLI_utildefines.h"
struct BMesh;

View File

@@ -8,7 +8,7 @@
#include <math.h>
#include "MEM_guardedalloc.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
#include "BLI_utildefines.h" /* for BLI_assert */

View File

@@ -74,7 +74,7 @@
static DerivedMesh *navmesh_dm_createNavMeshForVisualization(DerivedMesh *dm);
#endif
#include "BLO_sys_types.h" /* for intptr_t support */
#include "BLI_sys_types.h" /* for intptr_t support */
#include "GL/glew.h"

View File

@@ -60,7 +60,7 @@
#include "BKE_lattice.h"
#include "BKE_modifier.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
static void boundbox_displist(Object *ob);
static void boundbox_dispbase(BoundBox *bb, ListBase *dispbase);

View File

@@ -49,7 +49,7 @@
#include "BKE_icons.h"
#include "BKE_global.h" /* only for G.background test */
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
#include "GPU_extensions.h"

View File

@@ -89,7 +89,7 @@
#include "GPU_draw.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
/* for image user iteration */
#include "DNA_node_types.h"

View File

@@ -35,7 +35,7 @@
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"
#include "BLI_edgehash.h"

View File

@@ -28,7 +28,7 @@
#include <stddef.h>
#include "BLO_sys_types.h" /* for intptr_t */
#include "BLI_sys_types.h" /* for intptr_t */
#include "MEM_guardedalloc.h"

View File

@@ -150,6 +150,7 @@ set(SRC
BLI_string.h
BLI_string_cursor_utf8.h
BLI_string_utf8.h
BLI_sys_types.h
BLI_threads.h
BLI_utildefines.h
BLI_uvproject.h

View File

@@ -35,11 +35,11 @@
#include "MEM_guardedalloc.h"
#include "BLI_sys_types.h" /* for intptr_t support */
#include "BLI_utildefines.h"
#include "BLI_mempool.h"
#include "BLI_ghash.h"
#include "MEM_sys_types.h" /* for intptr_t support */
/***/
#ifdef __GNUC__

View File

@@ -24,7 +24,7 @@
* \ingroup bli
*/
#include "MEM_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"
#include "BLI_endian_switch.h"

View File

@@ -65,8 +65,7 @@
#include "BLI_string.h"
#include "BLI_path_util.h"
#include "BLI_fileops.h"
#include "MEM_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
/* gzip the file in from and write it to "to".

View File

@@ -52,7 +52,6 @@ set(SRC
BLO_blend_defs.h
BLO_readfile.h
BLO_runtime.h
BLO_sys_types.h
BLO_undofile.h
BLO_writefile.h
intern/readfile.h

View File

@@ -63,7 +63,7 @@
#include "readfile.h"
#include "BLO_sys_types.h" // needed for intptr_t
#include "BLI_sys_types.h" // needed for intptr_t
#ifdef WIN32
# include "BLI_winstuff.h"

View File

@@ -30,7 +30,6 @@ set(INC
../blenkernel
../blenlib
../blenfont
../blenloader
../editors/include
../makesdna
../makesrna

View File

@@ -39,7 +39,6 @@ incs = [
'../blenfont',
'../blenkernel',
'../windowmanager',
'../blenloader',
'../makesdna',
'../makesrna',
'../editors/include',

View File

@@ -31,7 +31,6 @@ set(INC
../blenkernel
../blenlib
../blenlib
../blenloader
../imbuf
../makesdna
../makesrna

View File

@@ -38,7 +38,6 @@ incs = [
'#/intern/opencl',
'../blenkernel',
'../blenlib',
'../blenloader',
'../imbuf',
'../makesdna',
'../makesrna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../imbuf',
'../../makesdna',

View File

@@ -28,7 +28,7 @@
* \ingroup edanimation
*/
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "DNA_anim_types.h"
#include "DNA_object_types.h"

View File

@@ -32,7 +32,7 @@
#include <stdlib.h>
#include <math.h>
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -37,7 +37,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -39,7 +39,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../imbuf
../../makesdna
../../makesrna

View File

@@ -37,7 +37,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -34,7 +34,7 @@
#include <math.h>
#include <float.h>
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"

View File

@@ -32,7 +32,7 @@
#include <stddef.h>
#include <stdio.h>
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_blenlib.h"

View File

@@ -32,7 +32,7 @@
#ifndef __UI_INTERFACE_H__
#define __UI_INTERFACE_H__
#include "BLO_sys_types.h" /* size_t */
#include "BLI_sys_types.h" /* size_t */
#include "RNA_types.h"
#include "DNA_userdef_types.h"

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../gpu
../../imbuf
../../makesdna

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../bmesh
../../makesdna
../../makesrna

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../collada',
'../../makesrna',
'../../windowmanager',

View File

@@ -24,7 +24,6 @@
set(INC
../include
../../blenkernel
../../blenloader
../../blenlib
../../makesdna
../../makesrna

View File

@@ -37,7 +37,6 @@ incs = [
'../include',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../makesdna',
'../../makesrna',
'../../windowmanager',

View File

@@ -24,7 +24,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../bmesh
../../gpu
../../imbuf

View File

@@ -40,7 +40,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -22,7 +22,6 @@ set(INC
../include
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../render/extern/include

View File

@@ -36,7 +36,6 @@ incs = [
'../include',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../gpu',
'../../imbuf',
'../../makesdna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../bmesh
../../gpu
../../ikplugin

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../ikplugin',

View File

@@ -59,7 +59,7 @@
#include "BKE_object.h"
#include "BKE_curve.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
#include "ED_object.h"
#include "ED_mesh.h"

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -38,7 +38,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../bmesh
../../gpu
../../imbuf

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -24,7 +24,6 @@ set(INC
../../blenkernel
../../blenlib
../../blenfont
../../blenloader
../../bmesh
../../gpu
../../imbuf

View File

@@ -39,7 +39,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -63,7 +63,7 @@
#include "ED_view3d.h"
#include "ED_screen.h"
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "ED_mesh.h" /* for face mask functions */
#include "WM_api.h"

View File

@@ -22,7 +22,6 @@ set(INC
../include
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -35,7 +35,6 @@ incs = [
'../include',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -22,7 +22,6 @@ set(INC
../include
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -35,7 +35,6 @@ incs = [
'../include',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -23,7 +23,6 @@ set(INC
../io
../../blenkernel
../../blenlib
../../blenloader
../../bmesh
../../makesdna
../../makesrna

View File

@@ -36,7 +36,6 @@ incs = [
'../io',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../makesdna',
'../../makesrna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../imbuf',
'../../makesdna',

View File

@@ -24,7 +24,6 @@
set(INC
../include
../../blenkernel
../../blenloader
../../blenfont
../../blenlib
../../imbuf

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../gpu',
'../../imbuf',
'../../makesdna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -40,7 +40,6 @@ incs = [
'../../blenlib',
'../../windowmanager',
'../../blenfont',
'../../blenloader',
]
if env['WITH_BF_PYTHON']:

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -37,7 +37,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../imbuf
../../bmesh
../../makesdna

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../imbuf',
'../../makesdna',

View File

@@ -24,7 +24,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -37,7 +37,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../imbuf
../../gpu
../../makesdna

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../compositor',
'../../gpu',
'../../imbuf',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenkernel
../../blenlib
../../blenfont
../../blenloader
../../imbuf
../../makesdna
../../makesrna

View File

@@ -37,7 +37,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -22,7 +22,6 @@ set(INC
../include
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -35,7 +35,6 @@ incs = [
'../include',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../imbuf
../../makesdna
../../makesrna

View File

@@ -37,7 +37,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -22,7 +22,6 @@ set(INC
../include
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -35,7 +35,6 @@ incs = [
'../include',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -22,7 +22,6 @@ set(INC
../include
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../makesrna
../../windowmanager

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../imbuf',
'../../makesdna',
'../../makesrna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../bmesh
../../gpu
../../imbuf

View File

@@ -39,7 +39,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -34,7 +34,7 @@
#include <string.h>
#include <math.h>
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"

View File

@@ -33,7 +33,7 @@
#include "DNA_scene_types.h"
#include "DNA_view3d_types.h"
#include "BLO_sys_types.h" /* int64_t */
#include "BLI_sys_types.h" /* int64_t */
#include "BIF_gl.h" /* bglMats */
#include "BIF_glutil.h" /* bglMats */

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../bmesh
../../ikplugin
../../makesdna

View File

@@ -36,7 +36,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../ikplugin',

View File

@@ -121,7 +121,7 @@
#include "transform.h"
#include "bmesh.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
/* local function prototype - for Object/Bone Constraints */

View File

@@ -34,7 +34,7 @@
#include "MEM_guardedalloc.h"
#include "BLO_sys_types.h" /* for intptr_t support */
#include "BLI_sys_types.h" /* for intptr_t support */
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"

View File

@@ -23,7 +23,6 @@ set(INC
../../blenfont
../../blenkernel
../../blenlib
../../blenloader
../../bmesh
../../makesdna
../../makesrna

View File

@@ -37,7 +37,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../imbuf',
'../../makesdna',

View File

@@ -23,7 +23,6 @@ set(INC
../../blenkernel
../../blenlib
../../blenfont
../../blenloader
../../bmesh
../../makesdna
../../makesrna

View File

@@ -39,7 +39,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../gpu',
'../../imbuf',

View File

@@ -46,7 +46,7 @@
#include <stdio.h>
#include <string.h>
#include "BLO_sys_types.h" /* for intptr_t support */
#include "BLI_sys_types.h" /* for intptr_t support */
/* Utils */

View File

@@ -31,7 +31,7 @@
extern "C" {
#endif
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
typedef void ParamHandle; /* handle to a set of charts */
typedef intptr_t ParamKey; /* (hash) key for identifying verts and faces */

View File

@@ -26,9 +26,18 @@
file(GLOB_RECURSE SRC *.cpp *.h)
set(INC
../blenkernel ../blenloader ../blenlib ../imbuf ../makesdna ../makesrna
../python ../python/intern ../render/extern/include ../render/intern/include
../../../extern/glew/include ../../../intern/guardedalloc ../freestyle
../blenkernel
../blenlib
../freestyle
../imbuf
../makesdna
../makesrna
../python
../python/intern
../render/extern/include
../render/intern/include
../../../extern/glew/include
../../../intern/guardedalloc
)
set(INC_SYS

View File

@@ -9,7 +9,6 @@ incs = [
'#/extern/glew/include',
'../blenkernel',
'../blenlib',
'../blenloader',
'../freestyle',
'../imbuf',
'../makesdna',

View File

@@ -27,7 +27,6 @@ set(INC
.
../blenkernel
../blenlib
../blenloader
../bmesh
../imbuf
../makesdna

View File

@@ -39,7 +39,6 @@ incs = [
'#/extern/glew/include',
'../blenkernel',
'../blenlib',
'../blenloader',
'../bmesh',
'../imbuf',
'../include',

View File

@@ -47,7 +47,7 @@
#include "GPU_material.h"
#include "GPU_extensions.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
#include "gpu_codegen.h"

View File

@@ -29,7 +29,6 @@ set(INC
../..
../../../blenkernel
../../../blenlib
../../../blenloader
../../../makesdna
../../../../../intern/guardedalloc
)

View File

@@ -31,7 +31,6 @@ source_files = env.Glob('*.c')
incs = ['.',
'../../../blenkernel',
'../../../blenloader',
'../../',
'..',
'../../../blenlib',

View File

@@ -35,7 +35,7 @@
#include <stdio.h>
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"
#ifdef __cplusplus

View File

@@ -23,7 +23,7 @@
#ifndef __FLIPDXT_H__
#define __FLIPDXT_H__
#include "MEM_sys_types.h"
#include "BLI_sys_types.h"
/* flip compressed DXT image vertically to fit OpenGL convention */
int FlipDXTCImage(unsigned int width, unsigned int height, unsigned int levels, int fourcc, uint8_t *data);

View File

@@ -44,7 +44,7 @@
#include "IMB_allocimbuf.h"
#include "IMB_filter.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
/************************************************************************/
/* SCALING */

View File

@@ -45,7 +45,7 @@
#endif
/* hrmf, we need a better include then this */
#include "../blenloader/BLO_sys_types.h" /* needed for int64_t only! */
#include "../blenlib/BLI_sys_types.h" /* needed for int64_t only! */
/* non-id name variables should use this length */
#define MAX_NAME 64

View File

@@ -29,7 +29,6 @@ add_definitions(-DWITH_DNA_GHASH)
blender_include_dirs(
../../../../intern/guardedalloc
../../blenloader
../../blenlib
..
)

View File

@@ -46,7 +46,7 @@ dna = env.Clone()
makesdna_tool.Append(CCFLAGS = '-DBASE_HEADER="\\"source/blender/makesdna/\\"" ')
makesdna_tool.Append (CPPPATH = ['#/intern/guardedalloc',
'../../makesdna', '../../blenloader', '../../bmesh'])
'../../makesdna', '../../bmesh'])
if env['OURPLATFORM'] == 'linuxcross':
USE_WINE = True # when cross compiling on linux 64bit this is useful

View File

@@ -55,7 +55,7 @@
#include "MEM_guardedalloc.h"
#include "DNA_sdna_types.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "../blenlib/BLI_sys_types.h" // for intptr_t support
#define SDNA_MAX_FILENAME_LENGTH 255

View File

@@ -25,7 +25,7 @@
*/
#include "BLO_sys_types.h"
#include "../blenlib/BLI_sys_types.h"
#ifndef __RNA_TYPES_H__
#define __RNA_TYPES_H__

View File

@@ -44,7 +44,6 @@ incs = [
'../blenfont',
'../blenkernel',
'../blenlib',
'../blenloader',
'../bmesh',
'../editors/include',
'../gpu',

View File

@@ -257,7 +257,6 @@ blender_include_dirs(
.
..
../../blenkernel
../../blenloader
../../blenlib
../../bmesh
../../blenfont

View File

@@ -66,7 +66,6 @@ incs = [
'../../blenfont',
'../../blenkernel',
'../../blenlib',
'../../blenloader',
'../../bmesh',
'../../editors/include',
'../../ikplugin',

View File

@@ -34,7 +34,7 @@
#include "RNA_define.h"
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"

View File

@@ -34,7 +34,7 @@
#include "RNA_define.h"
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"

View File

@@ -51,7 +51,7 @@
#include "rna_internal.h"
#include "BLO_sys_types.h" /* needed for intptr_t used in ED_mesh.h */
#include "BLI_sys_types.h" /* needed for intptr_t used in ED_mesh.h */
#include "ED_mesh.h"
#include "WM_api.h"

View File

@@ -40,7 +40,7 @@
#include "DNA_object_types.h"
/* #include "BLO_sys_types.h" */
/* #include "BLI_sys_types.h" */
#include "rna_internal.h" /* own include */

View File

@@ -30,7 +30,6 @@ set(INC
../blenkernel
../blenlib
../blenfont
../blenloader
../makesdna
../makesrna
../bmesh

View File

@@ -38,7 +38,6 @@ incs = [
'#/extern/glew/include',
'#/intern/opennl/extern',
'../render/extern/include',
'../blenloader',
'../bmesh',
'../include',
'../blenlib',

View File

@@ -28,7 +28,7 @@
#include <string.h>
#include <errno.h>
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"
#include "BLI_endian_switch.h"
#include "BLI_fileops.h"

View File

@@ -28,7 +28,7 @@
#include <string.h>
#include <errno.h>
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"
#include "BLI_endian_switch.h"
#include "BLI_fileops.h"

View File

@@ -32,7 +32,6 @@ set(INC
../blenfont
../blenkernel
../blenlib
../blenloader
../gpu
../imbuf
../makesdna

View File

@@ -44,7 +44,6 @@ incs = [
'../blenfont',
'../blenkernel',
'../blenlib',
'../blenloader',
'../editors/include',
'../gpu',
'../imbuf',

View File

@@ -22,7 +22,6 @@ set(INC
.
../../blenkernel
../../blenlib
../../blenloader
../../makesdna
../../../../intern/guardedalloc
)

View File

@@ -28,7 +28,6 @@ set(INC
../avi
../blenkernel
../blenlib
../blenloader
../imbuf
../imbuf/intern
../makesdna

View File

@@ -47,7 +47,6 @@ incs = ['.',
'../avi',
'../imbuf',
'../imbuf/intern',
'../blenloader',
'../render/extern/include',
'../editors/include',
'#/intern/audaspace/intern']

View File

@@ -46,7 +46,7 @@
#include "BLI_blenlib.h"
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"

View File

@@ -29,7 +29,7 @@
#include "MEM_guardedalloc.h"
#include "IMB_anim.h"
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"
#include "BKE_global.h"

View File

@@ -47,7 +47,7 @@
#include "BLI_blenlib.h"
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"

View File

@@ -36,7 +36,7 @@
#include "MEM_guardedalloc.h"
#include "IMB_anim.h"
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "BKE_global.h"
#include "BLI_dynstr.h"
#include "BLI_path_util.h"

View File

@@ -30,7 +30,6 @@ set(INC
../blenfont
../blenkernel
../blenlib
../blenloader
../imbuf
../makesdna
../makesrna

View File

@@ -37,7 +37,6 @@ incs = [
'../blenfont',
'../blenkernel',
'../blenlib',
'../blenloader',
'../bmesh',
'../imbuf',
'../include',

View File

@@ -50,7 +50,7 @@
#include "RE_shader_ext.h" /* TexResult, ShadeResult, ShadeInput */
#include "sunsky.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
struct Object;
struct MemArena;

View File

@@ -28,11 +28,10 @@
* \ingroup wm
*/
#include <string.h>
#include <stddef.h>
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "DNA_windowmanager_types.h"

View File

@@ -37,7 +37,7 @@
#include "BLI_utildefines.h"
#include "BLO_sys_types.h"
#include "BLI_sys_types.h"
#include "DNA_listBase.h"
#include "DNA_userdef_types.h"

View File

@@ -33,7 +33,6 @@ incs = [
'#/intern/guardedalloc',
'#/source/blender/makesdna',
'#/source/blender/makesrna',
'#/source/blender/blenloader',
'#/source/blender/blenlib',
]

View File

@@ -26,7 +26,7 @@
set(INC
.
../SceneGraph
../../blender/blenloader
../../blender/blenlib
../../../intern/guardedalloc
../../../intern/moto/include
../../../intern/string

View File

@@ -25,7 +25,7 @@
#include <algorithm>
#include "BoolValue.h"
#include "BLO_sys_types.h" /* for intptr_t support */
#include "BLI_sys_types.h" /* for intptr_t support */
//////////////////////////////////////////////////////////////////////

View File

@@ -29,15 +29,22 @@ Import ('env')
sources = env.Glob('*.cpp')
incs ='. #intern/guardedalloc #intern/string #intern/moto/include #source/gameengine/SceneGraph #source/blender/blenloader'
incs = [
'.',
'#intern/guardedalloc',
'#intern/string',
'#intern/moto/include',
'#source/gameengine/SceneGraph',
'#source/blender/blenlib',
]
defs = []
if env['WITH_BF_PYTHON']:
incs += ' ' + env['BF_PYTHON_INC']
incs.append(env['BF_PYTHON_INC'])
defs.append('WITH_PYTHON')
if env['WITH_BF_CXX_GUARDEDALLOC']:
defs.append('WITH_CXX_GUARDEDALLOC')
env.BlenderLib ( 'ge_logic_expressions', sources, Split(incs), defs, libtype=['core','player'], priority = [360,80], cxx_compileflags=env['BGE_CXXFLAGS'])
env.BlenderLib('ge_logic_expressions', sources, incs, defs, libtype=['core','player'], priority = [360,80], cxx_compileflags=env['BGE_CXXFLAGS'])

View File

@@ -6,7 +6,7 @@
#include "KX_ScalarInterpolator.h"
#include "KX_GameObject.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "BLI_sys_types.h" // for intptr_t support
bool KX_MaterialIpoController::Update(double currentTime)
{

View File

@@ -45,7 +45,7 @@ incs += ' #source/blender/makesdna #source/blender/makesrna #source/blender/pyth
incs += ' #source/gameengine/GameLogic #source/gameengine/Expressions #source/gameengine/Network'
incs += ' #source/gameengine/SceneGraph #source/gameengine/Physics/common'
incs += ' #source/gameengine/Physics/Dummy'
incs += ' #source/blender/misc #source/blender/blenloader #extern/glew/include #source/blender/gpu'
incs += ' #source/blender/misc #extern/glew/include #source/blender/gpu'
incs += ' #extern/recastnavigation/Recast/Include #extern/recastnavigation/Detour/Include'
incs += ' ' + env['BF_BULLET_INC']

View File

@@ -30,7 +30,6 @@ set(INC
../../SceneGraph
../../../blender/blenkernel
../../../blender/blenlib
../../../blender/blenloader
../../../blender/gpu
../../../blender/makesdna
../../../../intern/container