Skip to content

Commit

Permalink
[EN-7587] Implement FetchDailyCandles sample
Browse files Browse the repository at this point in the history
IsolatedPromise
  • Loading branch information
ttldtor committed Jun 28, 2024
1 parent 2e23a30 commit 009f8d8
Show file tree
Hide file tree
Showing 3 changed files with 213 additions and 292 deletions.
4 changes: 4 additions & 0 deletions include/dxfeed_graal_cpp_api/event/EventMapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ DXFCXX_DISABLE_MSC_WARNINGS_PUSH(4251)
DXFCPP_BEGIN_NAMESPACE

struct DXFCPP_EXPORT EventMapper {
static std::shared_ptr<EventType> fromGraal(void* graalNativeEvent);

static std::vector<std::shared_ptr<EventType>> fromGraalList(void *graalNativeList);

static void freeGraal(void *graalNativeEvent);

template <typename EventIt> static void *toGraalList(EventIt begin, EventIt end) {
if constexpr (Debugger::isDebug) {
Debugger::debug("EventMapper::toGraalList(symbols = " + elementsToString(begin, end) + ")");
Expand Down
Loading

0 comments on commit 009f8d8

Please sign in to comment.