Skip to content

Commit

Permalink
Render flags should be readonly.
Browse files Browse the repository at this point in the history
  • Loading branch information
FSX committed Nov 20, 2011
1 parent 096622e commit 3732e39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 37 deletions.
40 changes: 4 additions & 36 deletions src/misaka.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/misaka.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ cdef class BaseRenderer:

cdef sundown.sd_callbacks callbacks
cdef wrapper.renderopt options
cdef public int flags
cdef readonly int flags

def __init__(self, int flags=0):
self.options.self = <void *> self
Expand Down

0 comments on commit 3732e39

Please sign in to comment.