Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
8deb4b7d
Commit
8deb4b7d
authored
Apr 18, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding missing declarations and fixing mis-named stuff.
parent
82b95b9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
sass_interface.cpp
sass_interface.cpp
+3
-4
sass_interface.h
sass_interface.h
+9
-3
No files found.
sass_interface.cpp
View file @
8deb4b7d
...
@@ -12,9 +12,8 @@
...
@@ -12,9 +12,8 @@
extern
"C"
{
extern
"C"
{
using
namespace
std
;
using
namespace
std
;
sass_context
*
sass_new_context
()
sass_context
*
sass_new_context
()
{
return
(
sass_context
*
)
malloc
(
sizeof
(
sass_context
));
}
{
return
(
sass_context
*
)
malloc
(
sizeof
(
sass_context
));
}
void
sass_free_context
(
sass_context
*
ctx
)
void
sass_free_context
(
sass_context
*
ctx
)
{
{
...
@@ -23,7 +22,7 @@ extern "C" {
...
@@ -23,7 +22,7 @@ extern "C" {
}
}
sass_file_context
*
sass_new_file_context
()
sass_file_context
*
sass_new_file_context
()
{
return
(
sass_file_context
*
)
malloc
(
sizeof
(
sass_file_context
));
}
{
return
(
sass_file_context
*
)
malloc
(
sizeof
(
sass_file_context
));
}
void
sass_free_file_context
(
sass_file_context
*
ctx
)
void
sass_free_file_context
(
sass_file_context
*
ctx
)
{
{
...
@@ -32,7 +31,7 @@ extern "C" {
...
@@ -32,7 +31,7 @@ extern "C" {
}
}
sass_folder_context
*
sass_new_folder_context
()
sass_folder_context
*
sass_new_folder_context
()
{
return
(
sass_folder_context
*
)
malloc
(
sizeof
(
sass_folder_context
));
}
{
return
(
sass_folder_context
*
)
malloc
(
sizeof
(
sass_folder_context
));
}
static
char
*
process_document
(
Sass
::
Document
&
doc
,
int
style
)
static
char
*
process_document
(
Sass
::
Document
&
doc
,
int
style
)
{
{
...
...
sass_interface.h
View file @
8deb4b7d
...
@@ -40,9 +40,15 @@ struct sass_context* sass_new_context ();
...
@@ -40,9 +40,15 @@ struct sass_context* sass_new_context ();
struct
sass_folder_context
*
sass_new_folder_context
();
struct
sass_folder_context
*
sass_new_folder_context
();
struct
sass_file_context
*
sass_new_file_context
();
struct
sass_file_context
*
sass_new_file_context
();
int
sass_compile
(
struct
sass_context
*
);
void
sass_free_context
(
struct
sass_context
*
ctx
);
// int sass_folder_compile (struct sass_folder_context*);
void
sass_free_folder_context
(
struct
sass_folder_context
*
ctx
);
int
sass_file_compile
(
struct
sass_file_context
*
);
void
sass_free_file_context
(
struct
sass_file_context
*
ctx
);
int
sass_compile
(
struct
sass_context
*
);
//int sass_compile_folder (struct sass_folder_context*);
int
sass_compile_file
(
struct
sass_file_context
*
);
void
sass_free_file_context
(
struct
sass_file_context
*
ctx
);
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment