Skip to content

Commit

Permalink
Upgrade to LibSass 3.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubfijalkowski committed Jun 10, 2020
1 parent b457c23 commit 2153fda
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions Bindings/Libsass/Context.hs
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,15 @@ foreign import ccall unsafe "sass/context.h" sass_option_get_include_path
-> CSize
-> IO CString

foreign import ccall unsafe "sass/context.h" sass_option_get_plugin_path_size
:: Ptr SassOptions
-> IO CSize

foreign import ccall unsafe "sass/context.h" sass_option_get_plugin_path
:: Ptr SassOptions
-> CSize
-> IO CString

foreign import ccall unsafe "sass/context.h" sass_context_get_included_files_size
:: Ptr SassContext
-> IO CSize
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ hLibsass uses LibSass internally and therefore is quite tightly bound to LibSass
- hLibsass 0.1.7.x with LibSass 3.5.2 (distributed with)
- hLibsass 0.1.8.x with LibSass 3.5.5 (distributed with),
- hLibsass 0.1.9.x with LibSass 3.6.3 (distributed with),
- hLibsass 0.1.10.x with LibSass 3.6.3 & 3.6.4 (distributed with),
- LibSass 3.5.x **WILL** have breaking changes and will result in runtime failures of hLibSass versions prior to 0.1.7.0 (and probably compile-time failures too), see [LibSass releases page](https://github.com/sass/libsass/releases) for more details.

### Things to consider
Expand All @@ -56,4 +57,4 @@ GHC 7 is unable to load static version of native libraries (at least some of the

### Copyright

Copyright (c) 2015-2018 Jakub Fijałkowski. See [LICENSE](LICENSE) for details.
Copyright (c) 2015-2020 Jakub Fijałkowski. See [LICENSE](LICENSE) for details.
2 changes: 1 addition & 1 deletion libsass
Submodule libsass updated 125 files
2 changes: 1 addition & 1 deletion tests/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ main = hspec $
#ifndef EXTERNAL_LIBSASS
it "should report correct version" $ do
str <- peekCString libsass_version
str `shouldBe` "3.6.3"
str `shouldBe` "3.6.4"
#endif

it "should support quoted strings" $ withCString "sample" $ \cstr -> do
Expand Down

0 comments on commit 2153fda

Please sign in to comment.