dxFeed Graal Native SDK 3.12.0
Loading...
Searching...
No Matches
CFI' functions

Functions

int32_t dxfg_CFI_EMPTY (graal_isolatethread_t *thread, DXFG_OUT dxfg_cfi_t **emptyCfi)
int32_t dxfg_CFI_valueOf (graal_isolatethread_t *thread, const char *code, DXFG_OUT dxfg_cfi_t **cfi)
int32_t dxfg_CFI_valueOf2 (graal_isolatethread_t *thread, int32_t intCode, DXFG_OUT dxfg_cfi_t **cfi)
int32_t dxfg_CFI_getCode (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT char **code)
int32_t dxfg_CFI_getIntCode (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *intCode)
int32_t dxfg_CFI_getCategory (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int16_t *category)
int32_t dxfg_CFI_getGroup (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int16_t *group)
int32_t dxfg_CFI_isEquity (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isEquity)
int32_t dxfg_CFI_isDebtInstrument (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isDebtInstrument)
int32_t dxfg_CFI_isEntitlement (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isEntitlement)
int32_t dxfg_CFI_isOption (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isOption)
int32_t dxfg_CFI_isFuture (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isFuture)
int32_t dxfg_CFI_isOther (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isOther)
int32_t dxfg_CFI_decipher (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT dxfg_cfi_value_t **values, DXFG_OUT int32_t *size)
int32_t dxfg_CFI_describe (graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT char **description)

Detailed Description

Function Documentation

◆ dxfg_CFI_decipher()

int32_t dxfg_CFI_decipher ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT dxfg_cfi_value_t ** values,
DXFG_OUT int32_t * size )

Returns array of values (dxfg_cfi_value_t) that explain meaning of each character in the CFI code. Array always has length of 6 and each value explains corresponding character. If certain character is inapplicable, unknown or unrecognized - corresponding value will contain reference to this fact.

Sample:

dxfg_cfi_value_t *values = {};
int32_t size = 0;
int32_t result = dxfg_CFI_decipher(isolate_thread, cfi, &values, &size); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
// Do something with values.
// Release.
dxfg_JavaObjectHandler_array_release(isolate_thread, (const dxfg_java_object_handler **)values, size);
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_decipher(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT dxfg_cfi_value_t **values, DXFG_OUT int32_t *size)
#define DXFG_EXECUTE_SUCCESSFULLY
Definition dxfg_common.h:61
int32_t dxfg_JavaObjectHandler_array_release(graal_isolatethread_t *thread, const dxfg_java_object_handler **handlersArray, int32_t size)
Definition dxfg_glossary.h:109
The handle of a Java object: the reference by which the C code refers to an object that lives in Java...
Definition dxfg_javac.h:60
Deprecated
Use dxfg_v4_CFI_decipher().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]valuesA pointer to the result.
[out]sizeA pointer to the result size.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown. Use dxfg_JavaObjectHandler_array_release() to free the array of values. If there is a need to extend the life of some Value, then you can clone the handle using the dxfg_JavaObjectHandler_clone() function.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#decipher–

◆ dxfg_CFI_describe()

int32_t dxfg_CFI_describe ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT char ** description )

Returns short textual description of this CFI code by listing names of all values for the characters in this CFI code.

See also
dxfg_CFI_decipher method.

The code will be written to the passed pointer.

Sample:

char *description = {};
int32_t result = dxfg_CFI_describe(isolate_thread, cfi, &description); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
// description = 'Options; Put options; European; Futures; Physical; Standardized'
printf(" description = '%s'\n", description);
dxfg_String_release(isolate_thread, description);
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_describe(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT char **description)
int32_t dxfg_String_release(graal_isolatethread_t *thread, const char *string)
Deprecated
Use dxfg_v4_CFI_describe().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]descriptionA pointer to the description.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown. Use dxfg_String_release() to free the description.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#describe–

◆ dxfg_CFI_EMPTY()

int32_t dxfg_CFI_EMPTY ( graal_isolatethread_t * thread,
DXFG_OUT dxfg_cfi_t ** emptyCfi )

Returns an empty CFI (it has code "XXXXXX"). (https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#EMPTY). The handle of this instance will be written to the passed pointer.

Sample:

dxfg_cfi_t *cfi = {};
int32_t result = dxfg_CFI_EMPTY(isolate_thread, &cfi);
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
// Do some work with CFI
// Release
dxfg_JavaObjectHandler_release(isolate_thread, &cfi->handler);
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_EMPTY(graal_isolatethread_t *thread, DXFG_OUT dxfg_cfi_t **emptyCfi)
int32_t dxfg_JavaObjectHandler_release(graal_isolatethread_t *thread, dxfg_java_object_handler *handler)
Definition dxfg_glossary.h:71
dxfg_java_object_handler handler
Definition dxfg_glossary.h:73
Deprecated
Use dxfg_v4_CFI_EMPTY().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[out]emptyCfiThe pointer to result's handle (an empty CFI https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#EMPTY)
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown. Use dxfg_JavaObjectHandler_release() to free the CFI handle.

◆ dxfg_CFI_getCategory()

int32_t dxfg_CFI_getCategory ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT int16_t * category )

Returns single UTF16 character for instrument category - the first character of the CFI code.

Sample:

int16_t category = 0;
int32_t result = dxfg_CFI_getCategory(isolate_thread, cfi, &category); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" category = 0x%x\n", category); // category = 0x4f
printf(" category = '%c'\n", (char)((uint16_t)category & 0xFF)); // category = 'O'
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_getCategory(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int16_t *category)
Deprecated
Use dxfg_v4_CFI_getCategory().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]categoryA pointer to the result.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#getCategory–

◆ dxfg_CFI_getCode()

int32_t dxfg_CFI_getCode ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT char ** code )

Returns CFI code. The code always has length of 6 characters. The code will be written to the passed pointer.

Sample:

char *code = {};
int32_t result = dxfg_CFI_getCode(isolate_thread, cfi, &code); // cfi(520264211)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" code = %s\n", code); // code = OPEFPS
dxfg_String_release(isolate_thread, code);
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_getCode(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT char **code)
Deprecated
Use dxfg_v4_CFI_getCode().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]codeA pointer to the CFI code.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown. Use dxfg_String_release() to free the CFI code.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#getCode–

◆ dxfg_CFI_getGroup()

int32_t dxfg_CFI_getGroup ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT int16_t * group )

Returns single UTF16 character for instrument group - the second character of the CFI code.

Sample:

int16_t group = 0;
int32_t result = dxfg_CFI_getGroup(isolate_thread, cfi, &group); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" group = 0x%x\n", group); // group = 0x50
printf(" group = '%c'\n", (char)((uint16_t)group & 0xFF)); // group = 'P'
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_getGroup(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int16_t *group)
Deprecated
Use dxfg_v4_CFI_getGroup().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]groupA pointer to the result.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#getGroup–

◆ dxfg_CFI_getIntCode()

int32_t dxfg_CFI_getIntCode ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT int32_t * intCode )

Returns integer representation of CFI code. The code will be written to the passed pointer.

Sample:

int32_t intCode = {};
int32_t result = dxfg_CFI_getIntCode(isolate_thread, cfi, &intCode); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" intCode = %d\n", intCode); // intCode = 520264211
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_getIntCode(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *intCode)
Deprecated
Use dxfg_v4_CFI_getIntCode().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]intCodeA pointer to the result.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#getIntCode–

◆ dxfg_CFI_isDebtInstrument()

int32_t dxfg_CFI_isDebtInstrument ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT int32_t * isDebtInstrument )

Returns 1 if corresponding instrument is a debt instrument, 0 otherwise.

Sample:

int32_t is_debt_instrument = 0;
int32_t result = dxfg_CFI_isDebtInstrument(isolate_thread, cfi, &is_debt_instrument); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" is_debt_instrument = %d\n", is_debt_instrument); // is_debt_instrument = 0
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_isDebtInstrument(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isDebtInstrument)
Deprecated
Use dxfg_v4_CFI_isDebtInstrument().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]isDebtInstrumentA pointer to the result.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#isDebtInstrument–

◆ dxfg_CFI_isEntitlement()

int32_t dxfg_CFI_isEntitlement ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT int32_t * isEntitlement )

Returns 1 if corresponding instrument is an entitlement (right), 0 otherwise.

Sample:

int32_t is_entitlement = 0;
int32_t result = dxfg_CFI_isEntitlement(isolate_thread, cfi, &is_entitlement); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" is_entitlement = %d\n", is_entitlement); // is_entitlement = 0
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_isEntitlement(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isEntitlement)
Deprecated
Use dxfg_v4_CFI_isEntitlement().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]isEntitlementA pointer to the result.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#isEntitlement–

◆ dxfg_CFI_isEquity()

int32_t dxfg_CFI_isEquity ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT int32_t * isEquity )

Returns 1 if corresponding instrument is an equity, 0 otherwise.

Sample:

int32_t is_equity = 0;
int32_t result = dxfg_CFI_isEquity(isolate_thread, cfi, &is_equity); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" is_equity = %d\n", is_equity); // is_equity = 0
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_isEquity(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isEquity)
Deprecated
Use dxfg_v4_CFI_isEquity().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]isEquityA pointer to the result.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#isEquity–

◆ dxfg_CFI_isFuture()

int32_t dxfg_CFI_isFuture ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT int32_t * isFuture )

Returns 1 if corresponding instrument is a future, 0 otherwise.

Sample:

int32_t is_future = 0;
int32_t result = dxfg_CFI_isFuture(isolate_thread, cfi, &is_future); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" is_future = %d\n", is_future); // is_future = 0
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_isFuture(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isFuture)
Deprecated
Use dxfg_v4_CFI_isFuture().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]isFutureA pointer to the result.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#isFuture–

◆ dxfg_CFI_isOption()

int32_t dxfg_CFI_isOption ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT int32_t * isOption )

Returns 1 if corresponding instrument is an option, 0 otherwise.

Sample:

int32_t is_option = 0;
int32_t result = dxfg_CFI_isOption(isolate_thread, cfi, &is_option); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" is_option = %d\n", is_option); // is_option = 1
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_isOption(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isOption)
Deprecated
Use dxfg_v4_CFI_isOption().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]isOptionA pointer to the result.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#isOption–

◆ dxfg_CFI_isOther()

int32_t dxfg_CFI_isOther ( graal_isolatethread_t * thread,
dxfg_cfi_t * cfi,
DXFG_OUT int32_t * isOther )

Returns 1 if corresponding instrument is an other (miscellaneous) instrument, 0 otherwise.

Sample:

int32_t is_other = 0;
int32_t result = dxfg_CFI_isOther(isolate_thread, cfi, &is_other); // cfi(OPEFPS)
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
printf(" is_other = %d\n", is_other); // is_other = 0
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_isOther(graal_isolatethread_t *thread, dxfg_cfi_t *cfi, DXFG_OUT int32_t *isOther)
Deprecated
Use dxfg_v4_CFI_isOther().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]cfiThe CFI handle.
[out]isOtherA pointer to the result.
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#isOther–

◆ dxfg_CFI_valueOf()

int32_t dxfg_CFI_valueOf ( graal_isolatethread_t * thread,
const char * code,
DXFG_OUT dxfg_cfi_t ** cfi )

Returns an instance of CFI for specified CFI code. (https://en.wikipedia.org/wiki/ISO_10962) Accepts short code and expands it to 6 letters by appending "X" at the end. The handle of this instance will be written to the passed pointer.

Sample:

dxfg_cfi_t *cfi = {};
int32_t result = dxfg_CFI_valueOf(isolate_thread, "OPEFPS", &cfi);
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
// Do some work with CFI
// Release
dxfg_JavaObjectHandler_release(isolate_thread, &cfi->handler);
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_valueOf(graal_isolatethread_t *thread, const char *code, DXFG_OUT dxfg_cfi_t **cfi)
Deprecated
Use dxfg_v4_CFI_valueOf().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]codeThe CFI code.
[out]cfiThe pointer to result's handle (for specified CFI code)
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown. Use dxfg_JavaObjectHandler_release() to free the CFI handle.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#valueOf-java.lang.String-

◆ dxfg_CFI_valueOf2()

int32_t dxfg_CFI_valueOf2 ( graal_isolatethread_t * thread,
int32_t intCode,
DXFG_OUT dxfg_cfi_t ** cfi )

Returns an instance of CFI for specified integer representation of CFI code. The handle of this instance will be written to the passed pointer.

Sample:

dxfg_cfi_t *cfi = {};
int32_t result = dxfg_CFI_valueOf2(isolate_thread, 520264211, &cfi); // OPEFPS
if (result == DXFG_EXECUTE_SUCCESSFULLY) {
// Do some work with CFI
// Release
dxfg_JavaObjectHandler_release(isolate_thread, &cfi->handler);
} else {
// Use the dxfg_get_and_clear_thread_exception_t to print the stack trace.
}
int32_t dxfg_CFI_valueOf2(graal_isolatethread_t *thread, int32_t intCode, DXFG_OUT dxfg_cfi_t **cfi)
Deprecated
Use dxfg_v4_CFI_valueOfIntCode().
Parameters
[in]threadThe current GraalVM Isolate's thread.
[in]intCodeThe integer representation of CFI code.
[out]cfiThe pointer to result's handle (for specified CFI code)
Returns
DXFG_EXECUTE_SUCCESSFULLY (0) on successful function execution or DXFG_EXECUTE_FAIL (-1) on error. Use dxfg_get_and_clear_thread_exception_t() to determine if an exception was thrown. Use dxfg_JavaObjectHandler_release() to free the CFI handle.
See also
https://docs.dxfeed.com/dxfeed/api/com/dxfeed/glossary/CFI.html#valueOf-int-