Blame view

node_modules/node-sass/src/libsass/docs/api-importer-internal.md 421 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  ```C
  // External import entry
  struct Sass_Import {
    char* imp_path; // path as found in the import statement
    char *abs_path; // path after importer has resolved it
    char* source;
    char* srcmap;
    // error handling
    char* error;
    size_t line;
    size_t column;
  };
  
  // Struct to hold importer callback
  struct Sass_Importer {
    Sass_Importer_Fn importer;
    double           priority;
    void*            cookie;
  };
  ```