bsc_impl_details.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:processtap 作者: firodj 项目源码 文件源码
def base_classes(self):
        instances_len = ULONG(0)        
        instances_ids = pointer( IINST() )

        if not BSCGetBaseArray( self.__bsc, self.inst_id, byref( instances_ids ), byref( instances_len ) ):
            raise RuntimeError( "Unable to call BSCGetBaseArray" )

        instances = map( lambda i: self.__bsc.create_instance( instances_ids[i] )
                         , range( instances_len.value ) )

        BSCDisposeArray( self.__bsc, instances_ids )        
        return instances
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号