コード例 #1
0
ファイル: CachedObjectMgr.cpp プロジェクト: Bes666/Evemu
bool CachedObjectMgr::HaveCached(const std::string &objectID) const
{
    //this is very sub-optimal, but it keeps things more consistent (in case StringCollapseVisitor ever gets more complicated)
    PyString *str = new PyString( objectID );
    bool ret = HaveCached(str);
    PyDecRef(str);
    return ret;
}
コード例 #2
0
bool CachedObjectMgr::HaveCached(const std::string &objectID) const {
    //this is very sub-optimal, but it keeps things more consistent (in case StringCollapseVisitor ever gets more complicated)
    PyString str( objectID );
    return(HaveCached(&str));
}