@@ -619,34 +619,50 @@ pub unsafe fn ip6_port(addr: *sockaddr_in6) -> c_uint {
619
619
620
620
pub unsafe fn fs_open ( loop_ptr : * uv_loop_t , req : * uv_fs_t , path : * c_char , flags : int , mode : int ,
621
621
cb : * u8 ) -> c_int {
622
+ #[ fixed_stack_segment] ; #[ inline( never) ] ;
623
+
622
624
rust_uv_fs_open ( loop_ptr, req, path, flags as c_int , mode as c_int , cb)
623
625
}
624
626
625
627
pub unsafe fn fs_unlink ( loop_ptr : * uv_loop_t , req : * uv_fs_t , path : * c_char ,
626
628
cb : * u8 ) -> c_int {
629
+ #[ fixed_stack_segment] ; #[ inline( never) ] ;
630
+
627
631
rust_uv_fs_unlink ( loop_ptr, req, path, cb)
628
632
}
629
633
pub unsafe fn fs_write ( loop_ptr : * uv_loop_t , req : * uv_fs_t , fd : c_int , buf : * c_void ,
630
634
len : uint , offset : i64 , cb : * u8 ) -> c_int {
635
+ #[ fixed_stack_segment] ; #[ inline( never) ] ;
636
+
631
637
rust_uv_fs_write ( loop_ptr, req, fd, buf, len as c_uint , offset, cb)
632
638
}
633
639
pub unsafe fn fs_read ( loop_ptr : * uv_loop_t , req : * uv_fs_t , fd : c_int , buf : * c_void ,
634
640
len : uint , offset : i64 , cb : * u8 ) -> c_int {
641
+ #[ fixed_stack_segment] ; #[ inline( never) ] ;
642
+
635
643
rust_uv_fs_read ( loop_ptr, req, fd, buf, len as c_uint , offset, cb)
636
644
}
637
645
pub unsafe fn fs_close ( loop_ptr : * uv_loop_t , req : * uv_fs_t , fd : c_int ,
638
646
cb : * u8 ) -> c_int {
647
+ #[ fixed_stack_segment] ; #[ inline( never) ] ;
648
+
639
649
rust_uv_fs_close ( loop_ptr, req, fd, cb)
640
650
}
641
651
pub unsafe fn fs_req_cleanup ( req : * uv_fs_t ) {
652
+ #[ fixed_stack_segment] ; #[ inline( never) ] ;
653
+
642
654
rust_uv_fs_req_cleanup ( req) ;
643
655
}
644
656
645
657
// data access helpers
646
658
pub unsafe fn get_result_from_fs_req ( req : * uv_fs_t ) -> c_int {
659
+ #[ fixed_stack_segment] ; #[ inline( never) ] ;
660
+
647
661
rust_uv_get_result_from_fs_req ( req)
648
662
}
649
663
pub unsafe fn get_loop_from_fs_req ( req : * uv_fs_t ) -> * uv_loop_t {
664
+ #[ fixed_stack_segment] ; #[ inline( never) ] ;
665
+
650
666
rust_uv_get_loop_from_fs_req ( req)
651
667
}
652
668
pub unsafe fn get_loop_for_uv_handle < T > ( handle : * T ) -> * c_void {
0 commit comments