예제 #1
0
파일: talloc.py 프로젝트: racemidev/WMI_cmd
def talloc_zero(ctx, type):
    typename = 'struct ' + type.__name__
    typename = live_forever.setdefault(typename, typename)
    return cast(library._talloc_zero(ctx,
                                     sizeof(type),
                                     typename),
                POINTER(type))
예제 #2
0
def talloc_zero(ctx, type):
    typename = 'struct ' + type.__name__
    return cast(library._talloc_zero(ctx, sizeof(type), typename),
                POINTER(type))
예제 #3
0
def talloc_zero(ctx, type):
    typename = 'struct ' + type.__name__
    return cast(library._talloc_zero(ctx,
                                     sizeof(type),
                                     typename),
                POINTER(type))