Mercurial > projects > qtd
annotate include/ArrayOpsPrimitive.h @ 399:e40f33cc0bf5
Explicitly include qglobal.h before all the ?master includes?.
This makes sure that macros like Q_CORE_EXPORT are already defined for all parsed header files.
Starting with this commit, QtD should build successfully against the pre-built Cocoa packages on OS X 10.6.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sun, 16 Jan 2011 00:56:21 +0100 |
parents | d2f48c4cb3e3 |
children |
rev | line source |
---|---|
1 | 1 /** |
357
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
35
diff
changeset
|
2 Copyright: Copyright QtD Team, 2008-2010 |
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
35
diff
changeset
|
3 License: Boost License 1.0 |
9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Max Samukha <maxter@spambox.com>
parents:
35
diff
changeset
|
4 */ |
1 | 5 |
6 #ifndef ARRAY_OPS_PRIMITIVE_H | |
7 #define ARRAY_OPS_PRIMITIVE_H | |
8 | |
9 #include "qtd_core.h" | |
10 | |
11 // int | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
12 QTD_FUNC_DECL(CORE, void, allocate_int_array, (void* arr, size_t len)) |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
13 QTD_FUNC_DECL(CORE, void, assign_int_array_element, (void* arr, size_t pos, int elem)) |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
14 QTD_FUNC_DECL(CORE, void, get_int_from_array, (void* arr, size_t pos, int* elem)) |
1 | 15 |
16 // uint | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
17 QTD_FUNC_DECL(CORE, void, allocate_uint_array, (void* arr, size_t len)) |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
18 QTD_FUNC_DECL(CORE, void, assign_uint_array_element, (void* arr, size_t pos, uint elem)) |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
19 QTD_FUNC_DECL(CORE, void, get_uint_from_array, (void* arr, size_t pos, uint* elem)) |
1 | 20 |
21 // double | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
22 QTD_FUNC_DECL(CORE, void, allocate_double_array, (void* arr, size_t len)) |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
23 QTD_FUNC_DECL(CORE, void, assign_double_array_element, (void* arr, size_t pos, double elem)) |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
24 QTD_FUNC_DECL(CORE, void, get_double_from_array, (void* arr, size_t pos, double* elem)) |
1 | 25 |
26 // string | |
384
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
27 QTD_FUNC_DECL(CORE, void, allocate_string_array, (void* arr, size_t len)) |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
28 QTD_FUNC_DECL(CORE, void, assign_string_array_element, (void* arr, size_t pos, void* elem)) |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
29 QTD_FUNC_DECL(CORE, void*, string_from_array, (void* arr, size_t pos)) |
d2f48c4cb3e3
Same behavior of shared libs on linux and windows. Minor build script fixes.
Max Samukha <maxter@spambox.com>
parents:
357
diff
changeset
|
30 QTD_FUNC_DECL(CORE, void, get_string_from_array, (void* arr, size_t pos, DArray* elem)) |
1 | 31 |
32 #endif // ARRAY_OPS_PRIMITIVE_H |