diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-14 09:48:01 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-14 09:48:01 -0800 |
commit | ee36eb3020ccc659587e0aba743432a74e46c5d8 (patch) | |
tree | 5ba84a828551146d8ff5bd2c2493d8e85c9ffb61 /wrapper.py | |
parent | 4734ddc846621302334974f9963bdb46f7990602 (diff) |
Added missing type parameter in wrapper.py.
Diffstat (limited to 'wrapper.py')
-rwxr-xr-x | wrapper.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Example for using the shared library from python -from ctypes import CDLL, c_char_p +from ctypes import CDLL, c_char_p, c_long import sys import platform @@ -15,7 +15,7 @@ else: markdown = cmark.cmark_markdown_to_html markdown.restype = c_char_p -markdown.argtypes = [c_char_p] +markdown.argtypes = [c_char_p, c_long] def md2html(text): return markdown(text, len(text)) |