Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 421 Bytes

api-importer-internal.md

File metadata and controls

20 lines (19 loc) · 421 Bytes
// 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;
};