static PyObject* get_version_string(PyObject* self, PyObject* args) { const char* version; version = jack_get_version_string(); return Py_BuildValue("s", version); }
static int _version_string(ClientData clientData, Tcl_Interp *interp, int argc, Tcl_Obj* const *objv) { _t *dp = (_t *)clientData; if (argc != 2) return fw_error_str(interp, "jack-client version-string"); Tcl_SetObjResult(interp, Tcl_NewStringObj(jack_get_version_string(), -1)); return TCL_OK; }