Permalink
Browse files

Added the render_mode enum.

  • Loading branch information...
1 parent 96f1b09 commit 434918740a021fd10c61e8373d81c89d717b567c @postmodern committed May 11, 2011
Showing with 13 additions and 0 deletions.
  1. +13 −0 lib/ffi/upskirt/types.rb
View
@@ -20,6 +20,19 @@ module Upskirt
:space_headers, (1 << 6)
]
+ enum :render_mode, [
+ :skip_html, (1 << 0),
+ :skip_style, (1 << 1),
+ :skip_images, (1 << 2),
+ :skip_links, (1 << 3),
+ :expand_tabs, (1 << 5),
+ :safelink, (1 << 7),
+ :toc, (1 << 8),
+ :hard_wrap, (1 << 9),
+ :github_blockcode, (1 << 10),
+ :use_xhtml, (1 << 11)
+ ]
+
# block level callbacks - NULL skips the block
callback :blockcode_callback, [:pointer, :pointer, :pointer, :pointer], :void
callback :blockquote_callback, [:pointer, :pointer, :pointer], :void

0 comments on commit 4349187

Please sign in to comment.