Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- wrapFunction :: SassFunctionType -> SassFunctionFnType
- makeNativeFunction :: SassFunction -> IO SassFunctionEntry
- freeNativeFunction :: SassFunctionEntry -> IO ()
- makeNativeFunctionList :: [SassFunction] -> IO SassFunctionList
- freeNativeFunctionList :: SassFunctionList -> IO ()
- wrapImporter :: SassImporterType -> SassImporterFnType
- makeNativeImport :: SassImport -> IO SassImportEntry
- freeNativeImport :: SassImportEntry -> IO ()
- makeNativeImportList :: [SassImport] -> IO SassImportList
- freeNativeImportList :: SassImportList -> IO ()
- makeNativeImporter :: SassImporter -> IO SassImporterEntry
- freeNativeImporter :: SassImporterEntry -> IO ()
- makeNativeImporterList :: [SassImporter] -> IO SassImporterList
- freeNativeImporterList :: SassImporterList -> IO ()
Functions
wrapFunction :: SassFunctionType -> SassFunctionFnType Source #
Wraps function of type SassFunctionType
into function that may be passed
to native library.
makeNativeFunction :: SassFunction -> IO SassFunctionEntry Source #
Converts SassFunction
into native representation.
If you don't want to pass the resulting object to Sass_Options,
call freeNativeFunction
.
freeNativeFunction :: SassFunctionEntry -> IO () Source #
Deallocates the object, but does not deallocate signature.
makeNativeFunctionList :: [SassFunction] -> IO SassFunctionList Source #
Converts list of SassFunction
s into native representation.
There is analogous problem in relation to deallocation of the result as
with makeNativeFunction
. See documentation above for explanation.
freeNativeFunctionList :: SassFunctionList -> IO () Source #
Frees the list and entries, without releasing signatures.
Imports and headers
wrapImporter :: SassImporterType -> SassImporterFnType Source #
Wraps function of type SassImporterType
.
makeNativeImport :: SassImport -> IO SassImportEntry Source #
Converts SassImport
into native representation.
freeNativeImport :: SassImportEntry -> IO () Source #
Frees native representation of SassImport
.
makeNativeImportList :: [SassImport] -> IO SassImportList Source #
Converts list of SassImport
s into native representation.
freeNativeImportList :: SassImportList -> IO () Source #
Frees native representation of list of SassEntry
, including entries.
makeNativeImporter :: SassImporter -> IO SassImporterEntry Source #
Converts SassImporter
into native representation.
freeNativeImporter :: SassImporterEntry -> IO () Source #
Frees native representation of SassImporter
.
makeNativeImporterList :: [SassImporter] -> IO SassImporterList Source #
Makes native representation of list of SassImporter
s.
freeNativeImporterList :: SassImporterList -> IO () Source #
Frees list of native representations of SassImporter
s.
Libsass does not provide function to free this kind of objects, but we provide it just in case.