crypto-chassis/ccapi

add_compile_definitions(CCAPI_LAST_PRICE="d")

Closed this issue · 1 comments

After adding a compile definition to CMakeList:
add_compile_definitions(CCAPI_LAST_PRICE="d")
and compiling the binding with this annotation the accessing of "LAST_PRICE" does not change:
eg: elementNameValueMap.Get("LAST_PRICE")
Would I not expect to access it by elementNameValueMap.Get("d")?

It should be elementNameValueMap.Get("d") as you expected. Where did you add add_compile_definitions(CCAPI_LAST_PRICE="d")?