Blender
V4.3
source
blender
freestyle
intern
system
FreestyleConfig.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
12
#include <string>
13
14
/* Part of `BLI_sys_types.h`, declare here as BLI is not in the include path. */
15
typedef
unsigned
int
uint
;
16
typedef
unsigned
short
ushort
;
17
typedef
unsigned
long
ulong
;
18
typedef
unsigned
char
uchar
;
19
20
using namespace
std;
21
22
namespace
Freestyle
{
23
24
namespace
Config {
25
26
/* Directory separators. */
27
28
/* TODO: Use Blender's stuff for such things! */
29
#ifdef WIN32
30
static
const
string
DIR_SEP
(
"\\"
);
31
static
const
string
PATH_SEP
(
";"
);
32
#else
33
static
const
string
DIR_SEP
(
"/"
);
34
static
const
string
PATH_SEP
(
":"
);
35
#endif
// WIN32
36
37
}
// end of namespace Config
38
39
}
/* namespace Freestyle */
uchar
unsigned char uchar
Definition
FreestyleConfig.h:18
ulong
unsigned long ulong
Definition
FreestyleConfig.h:17
uint
unsigned int uint
Definition
FreestyleConfig.h:15
ushort
unsigned short ushort
Definition
FreestyleConfig.h:16
Freestyle::Config::PATH_SEP
static const string PATH_SEP(":")
Freestyle
inherits from class Rep
Definition
AppCanvas.cpp:20
DIR_SEP
#define DIR_SEP
Definition
path.cpp:29
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0