rfuse 1.2.3.rc20201019.81 → 2.0.0.ffilibfuse

Sign up to get free protection for your applications and to get access to all the features.
data/ext/rfuse/rfuse.h DELETED
@@ -1,3 +0,0 @@
1
- #include <ruby.h>
2
-
3
- void rfuse_init(VALUE module);
@@ -1,12 +0,0 @@
1
- #include "rfuse.h"
2
- #include "filler.h"
3
- #include "file_info.h"
4
- #include "context.h"
5
-
6
- void Init_rfuse() {
7
- VALUE mRFuse=rb_define_module("RFuse");
8
- file_info_init(mRFuse);
9
- context_init(mRFuse);
10
- rfiller_init(mRFuse);
11
- rfuse_init(mRFuse);
12
- }
@@ -1,39 +0,0 @@
1
- #ifdef HAVE_RUBY_ENCODING_H
2
- #include <ruby/encoding.h>
3
- #define rb_filesystem_encode(STR) (rb_enc_associate(STR,rb_filesystem_encoding()))
4
- #else
5
- #define rb_filesystem_encode(STR)
6
- #endif
7
-
8
- #ifndef HAVE_RB_ERRINFO
9
- #define rb_errinfo() ruby_errinfo
10
- #endif
11
-
12
- #ifndef HAVE_RB_SET_ERRINFO
13
- #define rb_set_errinfo(v) /*no-op*/
14
- #endif
15
-
16
- /* SIZET macros from ruby 1.9 */
17
- #ifndef SIZET2NUM
18
- #if SIZEOF_SIZE_T > SIZEOF_LONG && defined(HAVE_LONG_LONG)
19
- # define SIZET2NUM(v) ULL2NUM(v)
20
- # define SSIZET2NUM(v) LL2NUM(v)
21
- #elif SIZEOF_SIZE_T == SIZEOF_LONG
22
- # define SIZET2NUM(v) ULONG2NUM(v)
23
- # define SSIZET2NUM(v) LONG2NUM(v)
24
- #else
25
- # define SIZET2NUM(v) UINT2NUM(v)
26
- # define SSIZET2NUM(v) INT2NUM(v)
27
- #endif
28
- #endif
29
-
30
- #ifndef NUM2SIZET
31
- #if defined(HAVE_LONG_LONG) && SIZEOF_SIZE_T > SIZEOF_LONG
32
- # define NUM2SIZET(x) ((size_t)NUM2ULL(x))
33
- # define NUM2SSIZET(x) ((ssize_t)NUM2LL(x))
34
- #else
35
- # define NUM2SIZET(x) NUM2ULONG(x)
36
- # define NUM2SSIZET(x) NUM2LONG(x)
37
- #endif
38
- #endif
39
-