@@ -181,7 +181,7 @@ def self.attach_function_eagerly(native_name, argument_types, return_type,
181
181
attach_function :fcntl , [ :int , :int , :int ] , :int
182
182
attach_function :truffleposix_flock , [ :int , :int ] , :int , LIBTRUFFLEPOSIX , true
183
183
attach_function :truffleposix_fstat , [ :int , :pointer ] , :int , LIBTRUFFLEPOSIX
184
- attach_function :truffleposix_fstat_mode , [ :int ] , :long , LIBTRUFFLEPOSIX
184
+ attach_function :truffleposix_fstat_mode , [ :int ] , :mode_t , LIBTRUFFLEPOSIX
185
185
attach_function :truffleposix_fstat_size , [ :int ] , :long , LIBTRUFFLEPOSIX
186
186
attach_function :fsync , [ :int ] , :int
187
187
attach_function :ftruncate , [ :int , :off_t ] , :int
@@ -193,7 +193,7 @@ def self.attach_function_eagerly(native_name, argument_types, return_type,
193
193
attach_function :link , [ :string , :string ] , :int
194
194
attach_function :lseek , [ :int , :off_t , :int ] , :off_t
195
195
attach_function :truffleposix_lstat , [ :string , :pointer ] , :int , LIBTRUFFLEPOSIX
196
- attach_function :truffleposix_lstat_mode , [ :string ] , :long , LIBTRUFFLEPOSIX
196
+ attach_function :truffleposix_lstat_mode , [ :string ] , :mode_t , LIBTRUFFLEPOSIX
197
197
attach_function :truffleposix_major , [ :dev_t ] , :uint , LIBTRUFFLEPOSIX
198
198
attach_function :truffleposix_minor , [ :dev_t ] , :uint , LIBTRUFFLEPOSIX
199
199
attach_function :mkdir , [ :string , :mode_t ] , :int
@@ -210,7 +210,7 @@ def self.attach_function_eagerly(native_name, argument_types, return_type,
210
210
attach_function :seekdir , [ :pointer , :long ] , :void
211
211
attach_function :truffleposix_select , [ :int , :pointer , :int , :pointer , :int , :pointer , :long ] , :int , LIBTRUFFLEPOSIX
212
212
attach_function :truffleposix_stat , [ :string , :pointer ] , :int , LIBTRUFFLEPOSIX
213
- attach_function :truffleposix_stat_mode , [ :string ] , :long , LIBTRUFFLEPOSIX
213
+ attach_function :truffleposix_stat_mode , [ :string ] , :mode_t , LIBTRUFFLEPOSIX
214
214
attach_function :truffleposix_stat_size , [ :string ] , :long , LIBTRUFFLEPOSIX
215
215
attach_function :symlink , [ :string , :string ] , :int
216
216
attach_function :telldir , [ :pointer ] , :long
0 commit comments