<!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.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>EditorConfig: editorconfig_handle.h File Reference</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="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </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> <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="projectlogo"><img alt="Logo" src="logo.png"/></td> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">EditorConfig </div> <div id="projectbrief">Configuration file format for defining coding styles in shared projects.</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('editorconfig__handle_8h.html','');}); </script> <div id="doc-content"> <!-- 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="summary"> <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">editorconfig_handle.h File Reference</div> </div> </div><!--header--> <div class="contents"> <p>Header file of EditorConfig handle. <a href="#details">More...</a></p> <p><a href="editorconfig__handle_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:a0c51d798e0e22051d0057a567245010c"><td class="memItemLeft" align="right" valign="top"><a id="a0c51d798e0e22051d0057a567245010c"></a> typedef void * </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a></td></tr> <tr class="memdesc:a0c51d798e0e22051d0057a567245010c"><td class="mdescLeft"> </td><td class="mdescRight">The editorconfig handle object type. <br /></td></tr> <tr class="separator:a0c51d798e0e22051d0057a567245010c"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a8e3f1681e835a2946ba93b341ebc3dca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#a8e3f1681e835a2946ba93b341ebc3dca">editorconfig_handle_init</a> (void)</td></tr> <tr class="memdesc:a8e3f1681e835a2946ba93b341ebc3dca"><td class="mdescLeft"> </td><td class="mdescRight">Create and intialize a default editorconfig_handle object. <a href="#a8e3f1681e835a2946ba93b341ebc3dca">More...</a><br /></td></tr> <tr class="separator:a8e3f1681e835a2946ba93b341ebc3dca"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:add8960b396594d796843df56a6fd0cfe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#add8960b396594d796843df56a6fd0cfe">editorconfig_handle_destroy</a> (<a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> h)</td></tr> <tr class="memdesc:add8960b396594d796843df56a6fd0cfe"><td class="mdescLeft"> </td><td class="mdescRight">Destroy an editorconfig_handle object. <a href="#add8960b396594d796843df56a6fd0cfe">More...</a><br /></td></tr> <tr class="separator:add8960b396594d796843df56a6fd0cfe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae0c5207a1986dfea2f641008ddefdd93"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#ae0c5207a1986dfea2f641008ddefdd93">editorconfig_handle_get_err_file</a> (<a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> h)</td></tr> <tr class="memdesc:ae0c5207a1986dfea2f641008ddefdd93"><td class="mdescLeft"> </td><td class="mdescRight">Get the err_file field of an editorconfig_handle object. <a href="#ae0c5207a1986dfea2f641008ddefdd93">More...</a><br /></td></tr> <tr class="separator:ae0c5207a1986dfea2f641008ddefdd93"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab54f0467f75b91cd17e2569f11c38c74"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#ab54f0467f75b91cd17e2569f11c38c74">editorconfig_handle_get_version</a> (const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> h, int *major, int *minor, int *patch)</td></tr> <tr class="memdesc:ab54f0467f75b91cd17e2569f11c38c74"><td class="mdescLeft"> </td><td class="mdescRight">Get the version fields of an editorconfig_handle object. <a href="#ab54f0467f75b91cd17e2569f11c38c74">More...</a><br /></td></tr> <tr class="separator:ab54f0467f75b91cd17e2569f11c38c74"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4f0ce0493d8ef361387109ff3539eb9d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#a4f0ce0493d8ef361387109ff3539eb9d">editorconfig_handle_set_version</a> (const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> h, int major, int minor, int patch)</td></tr> <tr class="memdesc:a4f0ce0493d8ef361387109ff3539eb9d"><td class="mdescLeft"> </td><td class="mdescRight">Set the version fields of an editorconfig_handle object. <a href="#a4f0ce0493d8ef361387109ff3539eb9d">More...</a><br /></td></tr> <tr class="separator:a4f0ce0493d8ef361387109ff3539eb9d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a345fc52f7cc06dc8d35685ef4904013b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#a345fc52f7cc06dc8d35685ef4904013b">editorconfig_handle_set_conf_file_name</a> (<a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> h, const char *conf_file_name)</td></tr> <tr class="memdesc:a345fc52f7cc06dc8d35685ef4904013b"><td class="mdescLeft"> </td><td class="mdescRight">Set the conf_file_name field of an editorconfig_handle object. <a href="#a345fc52f7cc06dc8d35685ef4904013b">More...</a><br /></td></tr> <tr class="separator:a345fc52f7cc06dc8d35685ef4904013b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5d8fd295880d6512751a7f3c840e3ce0"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#a5d8fd295880d6512751a7f3c840e3ce0">editorconfig_handle_get_conf_file_name</a> (const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> h)</td></tr> <tr class="memdesc:a5d8fd295880d6512751a7f3c840e3ce0"><td class="mdescLeft"> </td><td class="mdescRight">Get the conf_file_name field of an editorconfig_handle object. <a href="#a5d8fd295880d6512751a7f3c840e3ce0">More...</a><br /></td></tr> <tr class="separator:a5d8fd295880d6512751a7f3c840e3ce0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad8330caee21b6aaacfa9fc95792b0389"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#ad8330caee21b6aaacfa9fc95792b0389">editorconfig_handle_get_name_value</a> (const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> h, int n, const char **name, const char **value)</td></tr> <tr class="memdesc:ad8330caee21b6aaacfa9fc95792b0389"><td class="mdescLeft"> </td><td class="mdescRight">Get the nth name and value fields of an editorconfig_handle object. <a href="#ad8330caee21b6aaacfa9fc95792b0389">More...</a><br /></td></tr> <tr class="separator:ad8330caee21b6aaacfa9fc95792b0389"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5a589c0471ca6651d09823595ddd3ea2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="editorconfig__handle_8h.html#a5a589c0471ca6651d09823595ddd3ea2">editorconfig_handle_get_name_value_count</a> (const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> h)</td></tr> <tr class="memdesc:a5a589c0471ca6651d09823595ddd3ea2"><td class="mdescLeft"> </td><td class="mdescRight">Get the count of name and value fields of an editorconfig_handle object. <a href="#a5a589c0471ca6651d09823595ddd3ea2">More...</a><br /></td></tr> <tr class="separator:a5a589c0471ca6651d09823595ddd3ea2"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Header file of EditorConfig handle. </p> <dl class="section author"><dt>Author</dt><dd>EditorConfig Team </dd></dl> </div><h2 class="groupheader">Function Documentation</h2> <a id="add8960b396594d796843df56a6fd0cfe"></a> <h2 class="memtitle"><span class="permalink"><a href="#add8960b396594d796843df56a6fd0cfe">◆ </a></span>editorconfig_handle_destroy()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int editorconfig_handle_destroy </td> <td>(</td> <td class="paramtype"><a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> </td> <td class="paramname"><em>h</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Destroy an editorconfig_handle object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">h</td><td>The editorconfig_handle object needs to be destroyed.</td></tr> </table> </dd> </dl> <dl class="retval"><dt>Return values</dt><dd> <table class="retval"> <tr><td class="paramname">zero</td><td>The editorconfig_handle object is destroyed successfully.</td></tr> <tr><td class="paramname">non-zero</td><td>Failed to destroy the editorconfig_handle object. </td></tr> </table> </dd> </dl> </div> </div> <a id="a5d8fd295880d6512751a7f3c840e3ce0"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5d8fd295880d6512751a7f3c840e3ce0">◆ </a></span>editorconfig_handle_get_conf_file_name()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* editorconfig_handle_get_conf_file_name </td> <td>(</td> <td class="paramtype">const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> </td> <td class="paramname"><em>h</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the conf_file_name field of an editorconfig_handle object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">h</td><td>The editorconfig_handle object whose conf_file_name field needs to be obtained.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>The value of the conf_file_name field of the editorconfig_handle object. </dd></dl> </div> </div> <a id="ae0c5207a1986dfea2f641008ddefdd93"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae0c5207a1986dfea2f641008ddefdd93">◆ </a></span>editorconfig_handle_get_err_file()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* editorconfig_handle_get_err_file </td> <td>(</td> <td class="paramtype"><a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> </td> <td class="paramname"><em>h</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the err_file field of an editorconfig_handle object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">h</td><td>The editorconfig_handle object whose err_file needs to be obtained.</td></tr> </table> </dd> </dl> <dl class="retval"><dt>Return values</dt><dd> <table class="retval"> <tr><td class="paramname">NULL</td><td>No error file exists.</td></tr> <tr><td class="paramname">non-NULL</td><td>The pointer to the path of the file caused the parsing error is returned. </td></tr> </table> </dd> </dl> </div> </div> <a id="ad8330caee21b6aaacfa9fc95792b0389"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad8330caee21b6aaacfa9fc95792b0389">◆ </a></span>editorconfig_handle_get_name_value()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void editorconfig_handle_get_name_value </td> <td>(</td> <td class="paramtype">const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> </td> <td class="paramname"><em>h</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>n</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char ** </td> <td class="paramname"><em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char ** </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Get the nth name and value fields of an editorconfig_handle object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">h</td><td>The editorconfig_handle object whose name and value fields need to be obtained.</td></tr> <tr><td class="paramname">n</td><td>The zero-based index of the name and value fields to be obtained.</td></tr> <tr><td class="paramname">name</td><td>If not null, *name will be set to point to the obtained name.</td></tr> <tr><td class="paramname">value</td><td>If not null, *value will be set to point to the obtained value.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>None. </dd></dl> </div> </div> <a id="a5a589c0471ca6651d09823595ddd3ea2"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5a589c0471ca6651d09823595ddd3ea2">◆ </a></span>editorconfig_handle_get_name_value_count()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int editorconfig_handle_get_name_value_count </td> <td>(</td> <td class="paramtype">const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> </td> <td class="paramname"><em>h</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the count of name and value fields of an editorconfig_handle object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">h</td><td>The editorconfig_handle object whose count of name and value fields need to be obtained.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the count of name and value fields of the editorconfig_handle object. </dd></dl> </div> </div> <a id="ab54f0467f75b91cd17e2569f11c38c74"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab54f0467f75b91cd17e2569f11c38c74">◆ </a></span>editorconfig_handle_get_version()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void editorconfig_handle_get_version </td> <td>(</td> <td class="paramtype">const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> </td> <td class="paramname"><em>h</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>major</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>minor</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>patch</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Get the version fields of an editorconfig_handle object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">h</td><td>The editorconfig_handle object whose version field need to be obtained.</td></tr> <tr><td class="paramname">major</td><td>If not null, the integer pointed by major will be filled with the major version field of the editorconfig_handle object.</td></tr> <tr><td class="paramname">minor</td><td>If not null, the integer pointed by minor will be filled with the minor version field of the editorconfig_handle object.</td></tr> <tr><td class="paramname">patch</td><td>If not null, the integer pointed by patch will be filled with the patch version field of the editorconfig_handle object.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>None. </dd></dl> </div> </div> <a id="a8e3f1681e835a2946ba93b341ebc3dca"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8e3f1681e835a2946ba93b341ebc3dca">◆ </a></span>editorconfig_handle_init()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> editorconfig_handle_init </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Create and intialize a default editorconfig_handle object. </p> <dl class="retval"><dt>Return values</dt><dd> <table class="retval"> <tr><td class="paramname">NULL</td><td>Failed to create the editorconfig_handle object.</td></tr> <tr><td class="paramname">non-NULL</td><td>The created editorconfig_handle object is returned. </td></tr> </table> </dd> </dl> </div> </div> <a id="a345fc52f7cc06dc8d35685ef4904013b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a345fc52f7cc06dc8d35685ef4904013b">◆ </a></span>editorconfig_handle_set_conf_file_name()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void editorconfig_handle_set_conf_file_name </td> <td>(</td> <td class="paramtype"><a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> </td> <td class="paramname"><em>h</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>conf_file_name</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the conf_file_name field of an editorconfig_handle object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">h</td><td>The editorconfig_handle object whose conf_file_name field needs to be set.</td></tr> <tr><td class="paramname">conf_file_name</td><td>The new value of the conf_file_name field of the editorconfig_handle object.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>None. </dd></dl> </div> </div> <a id="a4f0ce0493d8ef361387109ff3539eb9d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4f0ce0493d8ef361387109ff3539eb9d">◆ </a></span>editorconfig_handle_set_version()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void editorconfig_handle_set_version </td> <td>(</td> <td class="paramtype">const <a class="el" href="editorconfig__handle_8h.html#a0c51d798e0e22051d0057a567245010c">editorconfig_handle</a> </td> <td class="paramname"><em>h</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>major</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>minor</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>patch</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the version fields of an editorconfig_handle object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">h</td><td>The editorconfig_handle object whose version fields need to be set.</td></tr> <tr><td class="paramname">major</td><td>If not less than 0, the major version field will be set to major. If this parameter is less than 0, the major version field of the editorconfig_handle object will remain unchanged.</td></tr> <tr><td class="paramname">minor</td><td>If not less than 0, the minor version field will be set to minor. If this parameter is less than 0, the minor version field of the editorconfig_handle object will remain unchanged.</td></tr> <tr><td class="paramname">patch</td><td>If not less than 0, the patch version field will be set to patch. If this parameter is less than 0, the patch version field of the editorconfig_handle object will remain unchanged.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>None. </dd></dl> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_97a02d125655f590b2920fe29957f8f2.html">editorconfig</a></li><li class="navelem"><a class="el" href="editorconfig__handle_8h.html">editorconfig_handle.h</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> </ul> </div> </body> </html>