Implement Simple API call-in interfaces
The YottaDB Simple API provides a number of functions that provide M call-in support from C. These functions should be wrapped with Pythonic interfaces and supported before the 1.0 release of the YDBPython. These functions are exemplified in YDBGo:
-
CallMDesc.CallMDescT()*- callsydb_cip_t()to drive M code from descriptor (faster thanCallMT()for repeated calls) -
CallMDesc.CallMTableSwitch()*- callsydb_ci_tab_switch_t()switch to another (already open) call-in table -
CallMT()- callsydb_ci_t()to drive M code -
CallMTableOpen()- callsydb_ci_tab_open_t()to open a different call-in table -
MessageT()- callsydb_message_t()to fetch message text given its number -
ReleaseT()- callsydb_get_st()under the covers to fetch$ZYRELEASE
The names may be slightly different to suit the Python idiom, but the core functionality should be the same.
Edited by Jon Badiali