diff options
author | Nicolas Vasilache <nicolasvasilache@users.noreply.github.com> | 2016-04-05 04:22:06 +0300 |
---|---|---|
committer | Nicolas Vasilache <nicolasvasilache@users.noreply.github.com> | 2016-04-05 04:22:06 +0300 |
commit | 217ebf40468affebf052d4bc70b6170f9681bd0a (patch) | |
tree | 607bd01e02bf552ad9dfd928504830e29f8486c2 | |
parent | b536fb1d0dd7bcec9fc635a8c476087538762e48 (diff) |
Define options to nil
Can't modify the call, let's try again with initializing options to nil.
This passes my local check.
-rw-r--r-- | ascii.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -383,7 +383,8 @@ end local function preprocess(txt, style) local callbacks, tree = createcallbacks(style) local c_callbacks = ffi.new('struct sd_callbacks', callbacks) - local markdown = C.sd_markdown_new(0xfff, 16, c_callbacks) + local options = nil + local markdown = C.sd_markdown_new(0xfff, 16, c_callbacks, options) local outbuf = C.sd_bufnew(64) |