- Timestamp:
- Apr 2, 2018 5:01:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/python/_pjsua.c
r4724 r5763 1200 1200 static PyObject *py_pjsua_enum_transports(PyObject *pSelf, PyObject *pArgs) 1201 1201 { 1202 pj_status_t status;1203 1202 PyObject *list; 1204 1203 pjsua_transport_id id[PJSIP_MAX_TRANSPORTS]; … … 1209 1208 1210 1209 c = PJ_ARRAY_SIZE(id); 1211 status =pjsua_enum_transports(id, &c);1210 pjsua_enum_transports(id, &c); 1212 1211 1213 1212 list = PyList_New(c); … … 2336 2335 PyObj_pjsua_conf_port_info *ret; 2337 2336 pjsua_conf_port_info info; 2338 int status;2339 2337 unsigned i; 2340 2338 … … 2345 2343 } 2346 2344 2347 status =pjsua_conf_get_port_info(id, &info);2345 pjsua_conf_get_port_info(id, &info); 2348 2346 ret = (PyObj_pjsua_conf_port_info *) 2349 2347 conf_port_info_new(&PyTyp_pjsua_conf_port_info, NULL, NULL); … … 2712 2710 { 2713 2711 int capture_dev, playback_dev; 2714 int status;2715 2712 2716 2713 PJ_UNUSED_ARG(pSelf); 2717 2714 PJ_UNUSED_ARG(pArgs); 2718 2715 2719 status =pjsua_get_snd_dev(&capture_dev, &playback_dev);2716 pjsua_get_snd_dev(&capture_dev, &playback_dev); 2720 2717 2721 2718 return Py_BuildValue("ii", capture_dev, playback_dev);
Note: See TracChangeset
for help on using the changeset viewer.