Paste number 68588: svn_txdelta_apply ctypes

Paste number 68588: svn_txdelta_apply ctypes
Pasted by: durin42
When:8 months, 2 weeks ago
Share:Tweet this! | http://paste.lisp.org/+1GX8
Channel:#svn-dev
Paste contents:
Raw Source | XML | Display As
def svn_txdelta_apply(source, target, result_digest, pool):
    handler = ctypes.POINTER(core.svn_txdelta_window_handler_t(0))
    handler_baton = ctypes.POINTER(ctypes.c_void_p)
    error_info = ctypes.c_char_p(0)
    core.svn_txdelta_apply(types.Stream(source), types.Stream(target),
                           result_digest, error_info, pool,
                           handler, handler_baton)
    return handler, handler_baton


---
  File "/Users/Augie/ctypes-branch/hg_delta_editor.py", line 593, in apply_textdelta
    pool)
  File "/Users/Augie/ctypes-branch/svnwrap/svn_ctypes_wrapper.py", line 21, in svn_txdelta_apply
    handler = ctypes.POINTER(core.svn_txdelta_window_handler_t(0))
SystemError: NULL result without error in PyObject_Call

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.