PyTuple* PasswordString::_CreateArgs( PyWString* password ) { PyTuple* head =newPyTuple(2); head->SetItem(0,newPyToken("util.PasswordString") ); head->SetItem(1, password );returnhead; } 开发者ID:Camwarp,项目名称:evemu_server,代码行数:8,代码来源:PyUtils.cpp 示例5: _CreateArgs ▲...
1, PyInt_FromLong( (long) cl->thread ) );PyTuple_SetItem( clientlag_obj,2, PyInt_FromLong( (long) cl->pktid ) );PyTuple_SetItem( clientlag_obj,3, PyString_FromString( cl->who ) );PyTuple_SetItem( clientlag_obj,4, PyString...
1, PyInt_FromLong( (long) cl->thread ) );PyTuple_SetItem( clientlag_obj,2, PyInt_FromLong( (long) cl->pktid ) );PyTuple_SetItem( clientlag_obj,3, PyString_FromString( cl->who ) );PyTuple_SetItem( clientlag_obj,4, PyString...