Sha256: f17a8f1e74d758acb43f9bcce1df1af43797df3fa007ba1f8aa4efc5d320aeeb

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

#include <stdint.h>

#include "fswatch.h"

void Init_fswatch() {

  FSW_STATUS error = fsw_init_library();

  if (error != FSW_OK) {
    // unable to initialize fswatch library
    rb_raise(rb_eRuntimeError, "Unable to initialize fswatch library!"); 
  }

  init_fswatch_monitor();
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fswatch-rb-0.1.3 ext/fswatch/fswatch.c