FFI :: Library.

FFI :: Library´Â µ¿ÀûÀ¸·Î·Îµå µÈ ¶óÀ̺귯¸®¿¡ ´ëÇÑ Perl ¾×¼¼½º°¡ÀÖ´Â ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

FFI :: Library. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Paul Moore, Mitchell Charity and Anatoly Vorobey
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~gaal/FFI-1.02/Library.pm

FFI :: Library. ű×


FFI :: Library. ¼³¸í

FFI :: Library´Â µ¿ÀûÀ¸·Î·Îµå µÈ ¶óÀ̺귯¸®¿¡ ´ëÇÑ Perl ¾×¼¼½º°¡ÀÖ´Â ¸ðµâÀÔ´Ï´Ù. FFI :: Library´Â µ¿ÀûÀ¸·Î·Îµå µÈ ¶óÀ̺귯¸®¿¡ ´ëÇÑ Perl ¾×¼¼½º°¡ÀÖ´Â ¸ðµâÀÔ´Ï´Ù. ½Ä ³ëÇÁ°¡ FFI :: Library¸¦ »ç¿ëÇÕ´Ï´Ù. $ lib = ffi :: library-> new ( "myLib"); $ fn = $ lib-> ÇÔ¼ö ( "fn", "¼­¸í"); $ ret = $ fn -> (...);ÀÌ ¸ðµâÀº µ¿ÀûÀ¸·Î ¿¬°áµÈ ¶óÀ̺귯¸®¿¡¼­ ³» º¸³½ ÇÔ¼ö·Î Perl¿¡¼­ ¾×¼¼½º¸¦ Á¦°øÇÕ´Ï´Ù. ±â´ÉÀº FFI ¸ðµâÀÇ Documentation.Examples $ clib_file = ($ ^ o eq "mswin32")¸¦ ÂüÁ¶ÇÏ´Â ÀÚ¼¼ÇÑ ³»¿ëÀº ¼­¸íÀ¸·Î ¼³¸íµË´Ï´Ù. "msvcrt40.dll": "-lc"; $ clib = ffi :: library-> new ($ clib_file); $ strlen = $ clib-> ÇÔ¼ö ( "strlen", "cip"); $ n = $ strlen -> ($ my_string); ¿ä±¸ »çÇ× : ¡¤ Perl.


FFI :: Library. °ü·Ã ¼ÒÇÁÆ®¿þ¾î