call_sv()ã®æ»ãå¤ãæ£ç¢ºã«ææ¡ãã¦ããªããããã«ãXslate ã§åä»ãªãã°ãå¼ãèµ·ããã¦ãã¾ã£ã*1ãå ·ä½çã«ã¯ãcall_sv()ã§G_VOIDãæå®ããã¨å¸¸ã«1ãè¿ãã¨æãè¾¼ãã§ãããããããããã¯ééãã ã£ãã æ¤è¨¼ï¼ https://github.com/gfx/p5-XS-CallSV #!perl -w use strict; use Test::More; use B qw(/^G_/); use XS::SvCallTest; sub empty_pp { } sub return_empty_pp { return } sub return2_pp { return(10, 20) } sub fatal { die } note 'G_VOID'; is call_sv(\&empty_pp, G_VOID), 0; is call_sv(\&return_e
{{#tags}}- {{label}}
{{/tags}}