関数 | |
BOOL | py_from_SRV_INFO_101 (PyObject **dict, SRV_INFO_101 *info) |
変数 | |
static struct pyconv | py_SRV_INFO_101 [] |
BOOL py_from_SRV_INFO_101 | ( | PyObject ** | dict, | |
SRV_INFO_101 * | info | |||
) |
py_srvsvc_conv.c の 34 行で定義されています。
参照先 from_struct()・py_SRV_INFO_101.
参照元 srvsvc_netservergetinfo().
00035 { 00036 *dict = from_struct(info, py_SRV_INFO_101); 00037 00038 PyDict_SetItemString(*dict, "level", PyInt_FromLong(101)); 00039 00040 return True; 00041 }
struct pyconv py_SRV_INFO_101[] [static] |
初期値:
{ { "platform_id", PY_UINT32, offsetof(SRV_INFO_101, platform_id) }, { "major_version", PY_UINT32, offsetof(SRV_INFO_101, ver_major) }, { "minor_version", PY_UINT32, offsetof(SRV_INFO_101, ver_minor) }, { "server_type", PY_UINT32, offsetof(SRV_INFO_101, srv_type) }, { "name", PY_UNISTR2, offsetof(SRV_INFO_101, uni_name) }, { "comment", PY_UNISTR2, offsetof(SRV_INFO_101, uni_comment) }, { NULL } }
py_srvsvc_conv.c の 24 行で定義されています。