dxFeed Graal Native SDK 3.9.0
Loading...
Searching...
No Matches
Deprecated List
Global dxfg_DXEndpoint_executor (graal_isolatethread_t *thread, dxfg_endpoint_t *endpoint, dxfg_executor_t *executor)
Use dxfg_DXEndpoint_Builder_withExecutor(). The first call logs a deprecation warning.
Global dxfg_DXFeed_getLastEvent (graal_isolatethread_t *thread, dxfg_feed_t *feed, dxfg_event_type_t *event)
Use dxfg_DXFeed_getLastEvent2(). This function writes the result into the given event: it frees the strings of the event with the SDK's allocator and writes the strings allocated by the SDK there. So the event must be created by dxfg_EventType_new() (or come from the SDK) and be freed by dxfg_EventType_release(); an event allocated by the caller leaks the SDK's strings or corrupts memory. When the last event is not available, the event keeps the values it had (as in Java), but the event created by dxfg_EventType_new() has only its symbol, so the values of the caller's event are lost.
Global dxfg_DXFeed_getLastEvents (graal_isolatethread_t *thread, dxfg_feed_t *feed, dxfg_event_type_list *events)
Use dxfg_DXFeed_getLastEvents2(), see dxfg_DXFeed_getLastEvent() for the reasons. Every event of the list must be created by dxfg_EventType_new().
Global dxfg_InstrumentProfileCustomFields_addNonEmptyFieldNames (graal_isolatethread_t *thread, dxfg_instrument_profile_custom_fields_t *custom_fields, DXFG_OUT dxfg_string_list **target_field_names, DXFG_OUT int32_t *updated)
Because the updated parameter is useless. Use dxfg_InstrumentProfileCustomFields_getNonEmptyFieldNames instead. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown. Use dxfg_CList_String_release() to free the result.