File "ruby__missing_8h_source.html"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/ruby19/share/doc/ruby/html/d8/d81/ruby__missing_8h_source.html
File size: 10.13 KB
MIME-type: text/html
Charset: utf-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ruby: ext/openssl/ruby_missing.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Ruby
 <span id="projectnumber">1.9.3p551(2014-11-13revision48407)</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('../../',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../dir_31cedd4509e06940f559c1ca2f722e02.html">ext</a></li><li class="navelem"><a class="el" href="../../dir_64db7e4e7eda6525bb8a667fe79df7d6.html">openssl</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">ruby_missing.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="../../d8/d81/ruby__missing_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * $Id: ruby_missing.h 44754 2014-01-30 03:49:07Z usa $</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * 'OpenSSL for Ruby' project</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (C) 2001-2003 Michal Rokos <m.rokos@sh.cvut.cz></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">/*</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * This program is licenced under the same licence as Ruby.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * (See the file 'LICENCE'.)</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> */</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#if !defined(_OSSL_RUBY_MISSING_H_)</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#define _OSSL_RUBY_MISSING_H_</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="../../d8/d81/ruby__missing_8h.html#ab14e6f324ee005abbf34dd3e920e5e50"> 14</a></span> <span class="preprocessor">#define rb_define_copy_func(klass, func) \</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"> rb_define_method((klass), "initialize_copy", (func), 1)</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef GetReadFile</span></div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="../../d8/d81/ruby__missing_8h.html#a90e20054f3e1241918bbdacd6744916e"> 19</a></span> <span class="preprocessor">#define FPTR_TO_FD(fptr) ((fptr)->fd)</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define FPTR_TO_FD(fptr) (fileno(GetReadFile(fptr)))</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifndef HAVE_RB_IO_T</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="../../d8/d81/ruby__missing_8h.html#a554265955891507709406eb1a8040323"> 25</a></span> <span class="preprocessor">#define rb_io_t OpenFile</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#ifndef HAVE_RB_STR_SET_LEN</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">/* these methods should probably be backported to 1.8 */</span></div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../d8/d81/ruby__missing_8h.html#a89ed8cb86ca6dd49d2db67adae809057"> 30</a></span> <span class="preprocessor">#define rb_str_set_len(str, length) do { \</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"> RSTRING(str)->ptr[(length)] = 0; \</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"> RSTRING(str)->len = (length); \</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">} while(0)</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#endif </span><span class="comment">/* ! HAVE_RB_STR_SET_LEN */</span><span class="preprocessor"></span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifndef HAVE_RB_BLOCK_CALL</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">/* the openssl module doesn't use arg[3-4] and arg2 is always rb_each */</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../d8/d81/ruby__missing_8h.html#a57ef4ad7ebd72a2a8bc8d68e38439db5"> 38</a></span> <span class="preprocessor">#define rb_block_call(arg1, arg2, arg3, arg4, arg5, arg6) rb_iterate(rb_each, (arg1), (arg5), (arg6))</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#endif </span><span class="comment">/* ! HAVE_RB_BLOCK_CALL */</span><span class="preprocessor"></span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#ifdef PRIsVALUE</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor"># define RB_OBJ_CLASSNAME(obj) rb_obj_class(obj)</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"># define RB_OBJ_STRING(obj) (obj)</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../d8/d81/ruby__missing_8h.html#a8e362fd0b6f28e246f5d689a4b5ee1b8"> 45</a></span> <span class="preprocessor"># define PRIsVALUE "s"</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../d8/d81/ruby__missing_8h.html#a132d53fb41ba1c91bbbd87ca551c0e1f"> 46</a></span> <span class="preprocessor"># define RB_OBJ_CLASSNAME(obj) rb_obj_classname(obj)</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../d8/d81/ruby__missing_8h.html#a17f087f0a16e1ea932a538012f023aaa"> 47</a></span> <span class="preprocessor"># define RB_OBJ_STRING(obj) StringValueCStr(obj)</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#endif </span><span class="comment">/* _OSSL_RUBY_MISSING_H_ */</span><span class="preprocessor"></span></div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>