HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/current/node_modules/node-sass/src/custom_importer_bridge.h
#ifndef CUSTOM_IMPORTER_BRIDGE_H
#define CUSTOM_IMPORTER_BRIDGE_H

#include <nan.h>
#include <sass/functions.h>
#include <sass/values.h>
#include "callback_bridge.h"

typedef Sass_Import_List SassImportList;

class CustomImporterBridge : public CallbackBridge<SassImportList> {
  public:
    CustomImporterBridge(v8::Local<v8::Function> cb, bool is_sync) : CallbackBridge<SassImportList>(cb, is_sync) {}

  private:
    SassImportList post_process_return_value(v8::Local<v8::Value>) const;
    Sass_Import* check_returned_string(Nan::MaybeLocal<v8::Value> value, const char *msg) const;
    Sass_Import* get_importer_entry(const v8::Local<v8::Object>&) const;
    std::vector<v8::Local<v8::Value>> pre_process_args(std::vector<void*>) const;
};

#endif