dxFeed Graal Native SDK
3.9.0
Toggle main menu visibility
Loading...
Searching...
No Matches
dxfg_common.h
Go to the documentation of this file.
1
// Copyright (c) 2025 Devexperts LLC.
2
// SPDX-License-Identifier: MPL-2.0
3
8
9
#ifndef DXFG_COMMON_H
10
#define DXFG_COMMON_H
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
# include <cstdint>
15
#else
16
# include <stdint.h>
17
#endif
18
19
#include "
graal_isolate.h
"
20
24
25
#ifndef DXFG_OUT
26
# ifndef DOXYGEN_SHOULD_SKIP_THIS
27
# define DXFG_OUT
28
# endif
// DOXYGEN_SHOULD_SKIP_THIS
29
#endif
/* DXFG_OUT */
30
35
#ifndef DXFG_DEPRECATED
36
# if defined(__cplusplus) && __cplusplus >= 201402L
37
# define DXFG_DEPRECATED(message) [[deprecated(message)]]
38
# elif defined(__GNUC__) || defined(__clang__)
39
# define DXFG_DEPRECATED(message) __attribute__((deprecated(message)))
40
# elif defined(_MSC_VER)
41
# define DXFG_DEPRECATED(message) __declspec(deprecated(message))
42
# else
43
# define DXFG_DEPRECATED(message)
44
# endif
45
#endif
/* DXFG_DEPRECATED */
46
50
#define DXFG_EXECUTE_SUCCESSFULLY ((int32_t)0)
51
56
#define DXFG_EXECUTE_FAIL ((int32_t)-1)
57
59
typedef
struct
dxfg_string_to_double_map_entry_t
{
60
const
char
*
key
;
61
double
value
;
62
}
dxfg_string_to_double_map_entry_t
;
63
73
int32_t
dxfg_free_string_to_double_map_entries
(
graal_isolatethread_t
*thread,
74
dxfg_string_to_double_map_entry_t
*mapEntries, int32_t size);
75
84
int32_t
dxfg_free
(
graal_isolatethread_t
*thread,
void
*pointer);
85
95
int32_t
dxfg_free_strings
(
graal_isolatethread_t
*thread,
char
** strings, int32_t size);
96
// end of Common
98
99
#ifdef __cplusplus
100
}
101
#endif
102
103
#endif
// DXFG_COMMON_H
graal_isolate.h
The functions of GraalVM that create, attach to and tear down an isolate, the instance of the SDK in ...
graal_isolatethread_t
struct __graal_isolatethread_t graal_isolatethread_t
Definition
graal_isolate.h:59
dxfg_free_strings
int32_t dxfg_free_strings(graal_isolatethread_t *thread, char **strings, int32_t size)
dxfg_free
int32_t dxfg_free(graal_isolatethread_t *thread, void *pointer)
dxfg_free_string_to_double_map_entries
int32_t dxfg_free_string_to_double_map_entries(graal_isolatethread_t *thread, dxfg_string_to_double_map_entry_t *mapEntries, int32_t size)
dxfg_string_to_double_map_entry_t
Single map entry. A pair of string and double.
Definition
dxfg_common.h:59
dxfg_string_to_double_map_entry_t::value
double value
Definition
dxfg_common.h:61
dxfg_string_to_double_map_entry_t::key
const char * key
Definition
dxfg_common.h:60
src
main
c
api
dxfg_common.h
Generated by
1.18.0