hsass-0.8.0: Integrating Sass into Haskell applications.

Safe HaskellNone
LanguageHaskell2010

Text.Sass.Values.Internal

Description

Conversion of SassValue or list of SassValues into native representation. This module is internal and should not be considered stable.

Synopsis

Documentation

toNativeValue :: SassValue -> IO (Ptr SassValue) Source #

Converts a SassValue to native type.

fromNativeValue :: Ptr SassValue -> IO SassValue Source #

Converts native value to SassValue.

deleteNativeValue :: Ptr SassValue -> IO () Source #

Frees native representation of SassValue.

makeValueForeignPtr :: Ptr SassValue -> IO (ForeignPtr SassValue) Source #

Makes ForeignPtr from Ptr to native representation of SassValue.