Sha256: a10575425f402cdccc0803cfb4e234be9e1293d7569e2fec3443eef390e81987

Contents?: true

Size: 1.12 KB

Versions: 8

Compression:

Stored size: 1.12 KB

Contents

#ifndef SASS
#define SASS

#include <stddef.h>
#include <stdbool.h>

#ifdef _WIN32

  /* You should define ADD_EXPORTS *only* when building the DLL. */
  #ifdef ADD_EXPORTS
    #define ADDAPI __declspec(dllexport)
	#define ADDCALL __cdecl
  #else
    #define ADDAPI
	#define ADDCALL
  #endif

#else /* _WIN32 not defined. */

  /* Define with no value on non-Windows OSes. */
  #define ADDAPI
  #define ADDCALL

#endif

#ifndef LIBSASS_VERSION
#define LIBSASS_VERSION "[NA]"
#endif

// include API headers
#include "sass_values.h"
#include "sass_functions.h"

/* Make sure functions are exported with C linkage under C++ compilers. */
#ifdef __cplusplus
extern "C" {
#endif


// Different render styles
enum Sass_Output_Style {
  SASS_STYLE_NESTED,
  SASS_STYLE_EXPANDED,
  SASS_STYLE_COMPACT,
  SASS_STYLE_COMPRESSED
};

// Some convenient string helper function
ADDAPI char* ADDCALL sass_string_quote (const char *str, const char quotemark);
ADDAPI char* ADDCALL sass_string_unquote (const char *str);

// Get compiled libsass version
ADDAPI const char* ADDCALL libsass_version(void);


#ifdef __cplusplus
} // __cplusplus defined.
#endif

#endif

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sassc-0.0.9 ext/libsass/sass.h
sassc-0.0.8 ext/libsass/sass.h
sassc-0.0.7 ext/libsass/sass.h
sassc-0.0.6 ext/libsass/sass.h
sassc-0.0.5 ext/libsass/sass.h
sassc-0.0.4 ext/libsass/sass.h
sassc-0.0.2 ext/libsass/sass.h
sassc-0.0.1 ext/libsass/sass.h