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()* - calls ydb_cip_t() to drive M code from descriptor (faster than CallMT() for repeated calls)
  • CallMDesc.CallMTableSwitch()* - calls ydb_ci_tab_switch_t() switch to another (already open) call-in table
  • CallMT() - calls ydb_ci_t() to drive M code
  • CallMTableOpen() - calls ydb_ci_tab_open_t() to open a different call-in table
  • MessageT() - calls ydb_message_t() to fetch message text given its number
  • ReleaseT() - calls ydb_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