USB_Host_Shield_2.0/version__helper_8h_source.html

97 lines
36 KiB
HTML

<!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.11"/>
<title>USB Host Shield 2.0: version_helper.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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.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">USB Host Shield 2.0
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">version_helper.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="version__helper_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>&#160;<span class="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">This program is free software; you can redistribute it and/or modify</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">the Free Software Foundation; either version 2 of the License, or</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">(at your option) any later version.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">This program is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">GNU General Public License for more details.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">along with this program; if not, write to the Free Software</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">Contact information</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">-------------------</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">Circuits At Home, LTD</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">Web : http://www.circuitsathome.com</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">e-mail : support@circuitsathome.com</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment"> * Universal Arduino(tm) &quot;IDE&quot; fixups.</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment"> * Includes fixes for versions as low as 0023, used by Digilent.</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#if defined(ARDUINO) &amp;&amp; ARDUINO &gt;=100</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;Arduino.h&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &lt;WProgram.h&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &lt;pins_arduino.h&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#ifdef __AVR__</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#include &lt;avr/pgmspace.h&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#include &lt;avr/io.h&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#ifndef __PGMSPACE_H_</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a3e19ec020621f8b99268a81a85d29f57"> 43</a></span>&#160;<span class="preprocessor">#define __PGMSPACE_H_ 1</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#include &lt;inttypes.h&gt;</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#ifndef PROGMEM</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#define PROGMEM</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#ifndef PGM_P</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a963f816fc88a5d8479c285ed4c630229"> 51</a></span>&#160;<span class="preprocessor">#define PGM_P const char *</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#ifndef PSTR</span></div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a73809107539df84eaf01f6a4dea4fbff"> 54</a></span>&#160;<span class="preprocessor">#define PSTR(str) (str)</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#ifndef F</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a0e3009529aac180ed5f48296d6670d6b"> 57</a></span>&#160;<span class="preprocessor">#define F(str) (str)</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#ifndef _SFR_BYTE</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a0c2ed15ee215e2a578c8a975441b841e"> 60</a></span>&#160;<span class="preprocessor">#define _SFR_BYTE(n) (n)</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#ifndef memchr_P</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a0701320e4ee6b49c390113373afad5ac"> 64</a></span>&#160;<span class="preprocessor">#define memchr_P(str, c, len) memchr((str), (c), (len))</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor">#ifndef memcmp_P</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="version__helper_8h.html#aa643537fe238d74f3e5e4dda08bb399e"> 67</a></span>&#160;<span class="preprocessor">#define memcmp_P(a, b, n) memcmp((a), (b), (n))</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#ifndef memcpy_P</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae0444ad0cb3250a5778a573dd10f41be"> 70</a></span>&#160;<span class="preprocessor">#define memcpy_P(dest, src, num) memcpy((dest), (src), (num))</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#ifndef memmem_P</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="version__helper_8h.html#afe1e08150140cc176a8d0a5b11081dd0"> 73</a></span>&#160;<span class="preprocessor">#define memmem_P(a, alen, b, blen) memmem((a), (alen), (b), (blen))</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor">#ifndef memrchr_P</span></div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a243235b923ff7a3411ed43653abc727a"> 76</a></span>&#160;<span class="preprocessor">#define memrchr_P(str, val, len) memrchr((str), (val), (len))</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor">#ifndef strcat_P</span></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a2ca9304dda7dc2472812baa9e9ede965"> 79</a></span>&#160;<span class="preprocessor">#define strcat_P(dest, src) strcat((dest), (src))</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor">#ifndef strchr_P</span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="version__helper_8h.html#abb3516e179fb3e8ef87c5d0cac4045cb"> 82</a></span>&#160;<span class="preprocessor">#define strchr_P(str, c) strchr((str), (c))</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#ifndef strchrnul_P</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ab2472535e049353329b4026b5ea0ae47"> 85</a></span>&#160;<span class="preprocessor">#define strchrnul_P(str, c) strchrnul((str), (c))</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="preprocessor">#ifndef strcmp_P</span></div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="version__helper_8h.html#abbb2cd396dde2d1575948bb16ce2853a"> 88</a></span>&#160;<span class="preprocessor">#define strcmp_P(a, b) strcmp((a), (b))</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor">#ifndef strcpy_P</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae74941b597bdd8ffb5c35f45b636946b"> 91</a></span>&#160;<span class="preprocessor">#define strcpy_P(dest, src) strcpy((dest), (src))</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#ifndef strcasecmp_P</span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae97e89b6ed4b46ade2eca9cafc6abd8d"> 94</a></span>&#160;<span class="preprocessor">#define strcasecmp_P(a, b) strcasecmp((a), (b))</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor">#ifndef strcasestr_P</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="version__helper_8h.html#aaa89d5a1f38d2344fdb7542d89d35871"> 97</a></span>&#160;<span class="preprocessor">#define strcasestr_P(a, b) strcasestr((a), (b))</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="preprocessor">#ifndef strlcat_P</span></div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a1196925b7d2e212dcdef7ceb4c52d86b"> 100</a></span>&#160;<span class="preprocessor">#define strlcat_P(dest, src, len) strlcat((dest), (src), (len))</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="preprocessor">#ifndef strlcpy_P</span></div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a342608671474428bdccd3c47ee3a635f"> 103</a></span>&#160;<span class="preprocessor">#define strlcpy_P(dest, src, len) strlcpy((dest), (src), (len))</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="preprocessor">#ifndef strlen_P</span></div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a9962d6786d3d28802e67dde07a9bfc0e"> 106</a></span>&#160;<span class="preprocessor">#define strlen_P(s) strlen((const char *)(s))</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="preprocessor">#ifndef strnlen_P</span></div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a88a58af15fc8867019bde93e47d5e170"> 109</a></span>&#160;<span class="preprocessor">#define strnlen_P(str, len) strnlen((str), (len))</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="preprocessor">#ifndef strncmp_P</span></div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a83b1e057d9ee4c5160557575be07c41f"> 112</a></span>&#160;<span class="preprocessor">#define strncmp_P(a, b, n) strncmp((a), (b), (n))</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="preprocessor">#ifndef strncasecmp_P</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a6986d443d13df0a4f28c6d1b52effb7d"> 115</a></span>&#160;<span class="preprocessor">#define strncasecmp_P(a, b, n) strncasecmp((a), (b), (n))</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="preprocessor">#ifndef strncat_P</span></div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a86116ae518b3a7c8d7802897ad4d4437"> 118</a></span>&#160;<span class="preprocessor">#define strncat_P(a, b, n) strncat((a), (b), (n))</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="preprocessor">#ifndef strncpy_P</span></div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="version__helper_8h.html#afc6a478676d2474bb02daccb34462d22"> 121</a></span>&#160;<span class="preprocessor">#define strncpy_P(a, b, n) strncpy((a), (b), (n))</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="preprocessor">#ifndef strpbrk_P</span></div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a0d7d99b4acb1736f8d82c504439d955b"> 124</a></span>&#160;<span class="preprocessor">#define strpbrk_P(str, chrs) strpbrk((str), (chrs))</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="preprocessor">#ifndef strrchr_P</span></div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a802c70c90bdce26fb6e0219d54b0107f"> 127</a></span>&#160;<span class="preprocessor">#define strrchr_P(str, c) strrchr((str), (c))</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="preprocessor">#ifndef strsep_P</span></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae791604aa35173f156a2c49041531726"> 130</a></span>&#160;<span class="preprocessor">#define strsep_P(strp, delim) strsep((strp), (delim))</span></div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="preprocessor">#ifndef strspn_P</span></div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae67a03953a61e164588820c94f7fe416"> 133</a></span>&#160;<span class="preprocessor">#define strspn_P(str, chrs) strspn((str), (chrs))</span></div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor">#ifndef strstr_P</span></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="version__helper_8h.html#aca1ecbfa8b94eba4b5228f0a6a18a888"> 136</a></span>&#160;<span class="preprocessor">#define strstr_P(a, b) strstr((a), (b))</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="preprocessor">#ifndef sprintf_P</span></div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ab85c96c01fd285b8b9513e2cdd4c2ed4"> 139</a></span>&#160;<span class="preprocessor">#define sprintf_P(s, ...) sprintf((s), __VA_ARGS__)</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="preprocessor">#ifndef vfprintf_P</span></div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a1c1f6f95b0f654f7c8280065feccf5cf"> 142</a></span>&#160;<span class="preprocessor">#define vfprintf_P(s, ...) vfprintf((s), __VA_ARGS__)</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="preprocessor">#ifndef printf_P</span></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ab9261eba134bf3ec83f80bd34e6c2faf"> 145</a></span>&#160;<span class="preprocessor">#define printf_P(...) printf(__VA_ARGS__)</span></div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor">#ifndef snprintf_P</span></div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a6e0c87b2591aa1587c4d767ff9a2e5dd"> 148</a></span>&#160;<span class="preprocessor">#define snprintf_P(s, n, ...) ((s), (n), __VA_ARGS__)</span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="preprocessor">#ifndef vsprintf_P</span></div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a331f11242bffa41fbae842a55185e8cc"> 151</a></span>&#160;<span class="preprocessor">#define vsprintf_P(s, ...) ((s),__VA_ARGS__)</span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="preprocessor">#ifndef vsnprintf_P</span></div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ada0f0fa2c127b5486a9d7cba324b00d6"> 154</a></span>&#160;<span class="preprocessor">#define vsnprintf_P(s, n, ...) ((s), (n),__VA_ARGS__)</span></div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="preprocessor">#ifndef fprintf_P</span></div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="version__helper_8h.html#affc751c94fd67fe22fb951c83cdb328e"> 157</a></span>&#160;<span class="preprocessor">#define fprintf_P(s, ...) ((s), __VA_ARGS__)</span></div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="preprocessor">#ifndef pgm_read_byte</span></div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a48c60b057902adf805797f183286728d"> 161</a></span>&#160;<span class="preprocessor">#define pgm_read_byte(addr) (*(const unsigned char *)(addr))</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;<span class="preprocessor">#ifndef pgm_read_word</span></div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a910fb5f01313d339d3b835d45e1e5ad0"> 164</a></span>&#160;<span class="preprocessor">#define pgm_read_word(addr) (*(const unsigned short *)(addr))</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<span class="preprocessor">#ifndef pgm_read_dword</span></div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a73cf3e57e32321cb193b3cc4b041cc6c"> 167</a></span>&#160;<span class="preprocessor">#define pgm_read_dword(addr) (*(const unsigned long *)(addr))</span></div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="preprocessor">#ifndef pgm_read_float</span></div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a334426a3824fc08cee3a557ded696128"> 170</a></span>&#160;<span class="preprocessor">#define pgm_read_float(addr) (*(const float *)(addr))</span></div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;<span class="preprocessor">#ifndef pgm_read_byte_near</span></div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ad2b71a6faa0583b51569b531a443cb0a"> 174</a></span>&#160;<span class="preprocessor">#define pgm_read_byte_near(addr) pgm_read_byte(addr)</span></div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;<span class="preprocessor">#ifndef pgm_read_word_near</span></div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a515a845ea5139d8cf1c7f09ad6dad243"> 177</a></span>&#160;<span class="preprocessor">#define pgm_read_word_near(addr) pgm_read_word(addr)</span></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="preprocessor">#ifndef pgm_read_dword_near</span></div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a27619bf0e01033f6049a11a6d5d754f3"> 180</a></span>&#160;<span class="preprocessor">#define pgm_read_dword_near(addr) pgm_read_dword(addr)</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;<span class="preprocessor">#ifndef pgm_read_float_near</span></div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a93b33ee6ceaf1dd3ebcfa6f4c96f8b27"> 183</a></span>&#160;<span class="preprocessor">#define pgm_read_float_near(addr) pgm_read_float(addr)</span></div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;<span class="preprocessor">#ifndef pgm_read_byte_far</span></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a96c2bf865e6b08ed5f881ad25f5d47d4"> 186</a></span>&#160;<span class="preprocessor">#define pgm_read_byte_far(addr) pgm_read_byte(addr)</span></div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;<span class="preprocessor">#ifndef pgm_read_word_far</span></div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a3aaf70e2e58f5749ccbcd36032b1d1b3"> 189</a></span>&#160;<span class="preprocessor">#define pgm_read_word_far(addr) pgm_read_word(addr)</span></div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="preprocessor">#ifndef pgm_read_dword_far</span></div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a2829b030e67c660d451045dd1ee6b1e9"> 192</a></span>&#160;<span class="preprocessor">#define pgm_read_dword_far(addr) pgm_read_dword(addr)</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;<span class="preprocessor">#ifndef pgm_read_float_far</span></div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ac9201560d03a0cfa240d0421a22c74d1"> 195</a></span>&#160;<span class="preprocessor">#define pgm_read_float_far(addr) pgm_read_float(addr)</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;<span class="preprocessor">#ifndef pgm_read_pointer</span></div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ac75ec4c27491d1c4b5d9198dd7dc0155"> 199</a></span>&#160;<span class="preprocessor">#define pgm_read_pointer</span></div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;<span class="preprocessor">#endif</span></div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>