<!DOCTYPE html>
<html dir="ltr" lang="pl">

  <head>
    <title>Foreign Function Interface - Rubinius</title>
  	<meta charset="UTF-8">
  	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <meta content='pl' http-equiv='content-language'>
    <meta content='Rubinius is an implementation of the Ruby programming language. The Rubinius bytecode virtual machine is written in C++. The bytecode compiler is written in pure Ruby. The vast majority of the core library is also written in Ruby, with some supporting primitives that interact with the VM directly.' name='description'>
    <link href='/' rel='home'>
    <link href='/' rel='start'>
    <link href='/doc/pl/systems/primitives' rel='prev' title='Primitives'>
    <link href='/doc/pl/systems/concurrency'         rel='next' title='Współbieżność'>
    
    <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script><![endif]-->
    <script src="/javascripts/jquery-1.3.2.js"></script>
    <script src="/javascripts/paging_keys.js"></script>
    
    <script src="/javascripts/application.js"></script>
    <style>article, aside, dialog, figure, footer, header, hgroup, menu, nav, section { display: block; }</style>

    <link href="/stylesheets/blueprint/screen.css" media="screen" rel="stylesheet" />
    <link href="/stylesheets/application.css"      media="screen" rel="stylesheet" />
    <link href="/stylesheets/blueprint/print.css"  media="print"  rel="stylesheet" />
    <!--[if IE]><link href="/stylesheets/blueprint/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
    <!--[if IE]><link href="/stylesheets/ie.css"           media="screen" rel="stylesheet" type="text/css" /><![endif]-->
    <link href="/stylesheets/pygments.css" media="screen" rel="stylesheet" />
  </head>

  <body>
    <div class='container'>
  <div class='span-21 doc_menu'>
    <header>
      <nav>
  <ul>
    <li><a href="/">Home</a></li>
    <li><a id="blog" href="/blog">Blog</a></li>
    <li><a id="documentation" href="/doc/en">Documentation</a></li>
    <li><a href="/projects">Projects</a></li>
    <li><a href="/roadmap">Roadmap</a></li>
    <li><a href="/releases">Releases</a></li>
  </ul>
</nav>

    </header>
  </div>
  <div class='span-3 last'>
  <div id='version'>
    <a href="/releases/1.2.4">1.2.4</a>
  </div>
</div>

</div>


<div class="container languages">
  <nav>
  <span class="label">Język:</span>
  <ul>
    
    
    
    <li><a href="/doc/de/systems/ffi/"
      
      >de</a></li>
    
    
    
    <li><a href="/doc/en/systems/ffi/"
      
      >en</a></li>
    
    
    
    <li><a href="/doc/es/systems/ffi/"
      
      >es</a></li>
    
    
    
    <li><a href="/doc/fr/systems/ffi/"
      
      >fr</a></li>
    
    
    
    <li><a href="/doc/ja/systems/ffi/"
      
      >ja</a></li>
    
    
    
    <li><a href="/doc/pl/systems/ffi/"
      
      class="current"
      
      >pl</a></li>
    
    
    
    <li><a href="/doc/pt-br/systems/ffi/"
      
      >pt-br</a></li>
    
    
    
    <li><a href="/doc/ru/systems/ffi/"
      
      >ru</a></li>
    
  </ul>
  </nav>
</div>


<div class="container doc_page_nav">
  
    
    <span class="label">Wstecz:</span>
    <a href="/doc/pl/systems/primitives">Primitives</a>
    

    <span class="label">Do góry:</span>
    <a href="/doc/pl/">Spis treści</a>

    
    <span class="label">Dalej:</span>
    <a href="/doc/pl/systems/concurrency">Współbieżność</a>
    
  
</div>


<div class="container documentation">
  <h2>Foreign Function Interface</h2>

  

  
    <div class="review">
  <p>This topic has missing or partial documentation. Please help us improve it.</p>

  <p>
    See <a href="/doc/pl/how-to/write-documentation">How-To - Write Documentation</a>
  </p>
</div>

  

    


</div>

<div class="container doc_page_nav">
  
    
    <span class="label">Wstecz:</span>
    <a href="/doc/pl/systems/primitives">Primitives</a>
    

    <span class="label">Do góry:</span>
    <a href="/doc/pl/">Spis treści</a>

    
    <span class="label">Dalej:</span>
    <a href="/doc/pl/systems/concurrency">Współbieżność</a>
    
  
</div>


<div class="container">
  <div id="disqus_thread"></div>
<script type="text/javascript">
  var disqus_shortname  = 'rubinius';
  var disqus_identifier = '/doc/pl/systems/ffi/';
  var disqus_url = 'http://rubini.us/doc/pl/systems/ffi/';

  (function() {
    var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
    dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  })();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>

</div>

<footer>
  <div class='container'>
    <nav>
      <ul>
        <li><a rel="external" href="http://twitter.com/rubinius">Follow Rubinius on Twitter</a></li>
        <li><a rel="external" href="http://github.com/rubinius/rubinius">Fork Rubinius on github</a></li>
        <li><a rel="external" href="http://engineyard.com">An Engine Yard project</a></li>
      </ul>
    </nav>
  </div>
</footer>

<script>
  var _gaq=[['_setAccount','UA-12328521-1'],['_trackPageview']];
  (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
  g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
  s.parentNode.insertBefore(g,s)}(document,'script'));
</script>


  </body>
</html>
