1085 lines
56 KiB
HTML
1085 lines
56 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Gem-graph: include/util.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="../../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 id="projectrow">
|
|
<td id="projectlogo"><img alt="Logo" src="../../logo icon mini.png"/></td>
|
|
<td id="projectalign">
|
|
<div id="projectname">Gem-graph<span id="projectnumber"> 0.1.0</span>
|
|
</div>
|
|
<div id="projectbrief">A modelling tool based on rewriting of geometric graphs.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('../../',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">util.h File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>utilities header
|
|
<a href="#details">More...</a></p>
|
|
<div class="textblock"><code>#include <stdbool.h></code><br />
|
|
<code>#include <stddef.h></code><br />
|
|
<code>#include <gtk-4.0/gtk/gtk.h></code><br />
|
|
<code>#include "<a class="el" href="../../dd/d01/fsm_8h.html">../include/fsm.h</a>"</code><br />
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
|
Classes</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d03/structpile.html">pile</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <a href="../../da/d03/structpile.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d0b/structelem.html">elem</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <a href="../../d0/d0b/structelem.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d04/structdblist.html">dblist</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <a href="../../d1/d04/structdblist.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d05/structslist.html">slist</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <a href="../../df/d05/structslist.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:a8b1be516cd670e3808f29fa7576017db" id="r_a8b1be516cd670e3808f29fa7576017db"><td class="memItemLeft" align="right" valign="top"><a id="a8b1be516cd670e3808f29fa7576017db" name="a8b1be516cd670e3808f29fa7576017db"></a>
|
|
typedef struct <a class="el" href="../../da/d03/structpile.html">pile</a> </td><td class="memItemRight" valign="bottom"><b>pile</b></td></tr>
|
|
<tr class="memdesc:a8b1be516cd670e3808f29fa7576017db"><td class="mdescLeft"> </td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <br /></td></tr>
|
|
<tr class="separator:a8b1be516cd670e3808f29fa7576017db"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a03f28ef452dbb87c629a2b39da6fc63c" id="r_a03f28ef452dbb87c629a2b39da6fc63c"><td class="memItemLeft" align="right" valign="top"><a id="a03f28ef452dbb87c629a2b39da6fc63c" name="a03f28ef452dbb87c629a2b39da6fc63c"></a>
|
|
typedef struct <a class="el" href="../../d0/d0b/structelem.html">elem</a> </td><td class="memItemRight" valign="bottom"><b>elem</b></td></tr>
|
|
<tr class="memdesc:a03f28ef452dbb87c629a2b39da6fc63c"><td class="mdescLeft"> </td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <br /></td></tr>
|
|
<tr class="separator:a03f28ef452dbb87c629a2b39da6fc63c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6f169a5dcb2ec0f7ab8120292cf14d9e" id="r_a6f169a5dcb2ec0f7ab8120292cf14d9e"><td class="memItemLeft" align="right" valign="top"><a id="a6f169a5dcb2ec0f7ab8120292cf14d9e" name="a6f169a5dcb2ec0f7ab8120292cf14d9e"></a>
|
|
typedef struct <a class="el" href="../../df/d05/structslist.html">slist</a> </td><td class="memItemRight" valign="bottom"><b>slist</b></td></tr>
|
|
<tr class="memdesc:a6f169a5dcb2ec0f7ab8120292cf14d9e"><td class="mdescLeft"> </td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <br /></td></tr>
|
|
<tr class="separator:a6f169a5dcb2ec0f7ab8120292cf14d9e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a40bb126a021a338b20022e741bbd4ae1" id="r_a40bb126a021a338b20022e741bbd4ae1"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a40bb126a021a338b20022e741bbd4ae1">util_read_file</a> (char *filename)</td></tr>
|
|
<tr class="memdesc:a40bb126a021a338b20022e741bbd4ae1"><td class="mdescLeft"> </td><td class="mdescRight">reads a file from filename into a provided buffer <br /></td></tr>
|
|
<tr class="separator:a40bb126a021a338b20022e741bbd4ae1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7a9bfe2d249e5da19a1117c7d5636b8a" id="r_a7a9bfe2d249e5da19a1117c7d5636b8a"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a7a9bfe2d249e5da19a1117c7d5636b8a">util_concat</a> (const char *str,...)</td></tr>
|
|
<tr class="memdesc:a7a9bfe2d249e5da19a1117c7d5636b8a"><td class="mdescLeft"> </td><td class="mdescRight"><a href="https://sourceware.org/glibc/manual/latest/html_mono/libc.html#Variadic-Prototypes">https://sourceware.org/glibc/manual/latest/html_mono/libc.html#Variadic-Prototypes</a> <br /></td></tr>
|
|
<tr class="separator:a7a9bfe2d249e5da19a1117c7d5636b8a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a87a9dcc9beba6b65e30ce4294c20713d" id="r_a87a9dcc9beba6b65e30ce4294c20713d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a87a9dcc9beba6b65e30ce4294c20713d">util_pile_clear</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> **)</td></tr>
|
|
<tr class="separator:a87a9dcc9beba6b65e30ce4294c20713d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afbc42bf42f66e0aa969de04212c4e07a" id="r_afbc42bf42f66e0aa969de04212c4e07a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#afbc42bf42f66e0aa969de04212c4e07a">util_pile_view</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> *)</td></tr>
|
|
<tr class="separator:afbc42bf42f66e0aa969de04212c4e07a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae6f16aafebd809c62cacd9abc3892925" id="r_ae6f16aafebd809c62cacd9abc3892925"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#ae6f16aafebd809c62cacd9abc3892925">util_pile_push</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> **, int)</td></tr>
|
|
<tr class="separator:ae6f16aafebd809c62cacd9abc3892925"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a121e2ed13ed9448f33173ebaefba3679" id="r_a121e2ed13ed9448f33173ebaefba3679"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a121e2ed13ed9448f33173ebaefba3679">util_pile_pop</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> **)</td></tr>
|
|
<tr class="separator:a121e2ed13ed9448f33173ebaefba3679"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afbb61183d866a834bdf9cae2be6c84f5" id="r_afbb61183d866a834bdf9cae2be6c84f5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#afbb61183d866a834bdf9cae2be6c84f5">util_pile_length</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> *p)</td></tr>
|
|
<tr class="separator:afbb61183d866a834bdf9cae2be6c84f5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3133311b2fe84f2d9745f67f2cc02bd3" id="r_a3133311b2fe84f2d9745f67f2cc02bd3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a3133311b2fe84f2d9745f67f2cc02bd3">util_list_2x2_init</a> (<a class="el" href="../../d1/d04/structdblist.html">dblist</a> *l)</td></tr>
|
|
<tr class="memdesc:a3133311b2fe84f2d9745f67f2cc02bd3"><td class="mdescLeft"> </td><td class="mdescRight">Phantom documentation. <br /></td></tr>
|
|
<tr class="separator:a3133311b2fe84f2d9745f67f2cc02bd3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abfc7d5a8fff1bd14f16a501ee1755349" id="r_abfc7d5a8fff1bd14f16a501ee1755349"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#abfc7d5a8fff1bd14f16a501ee1755349">util_list_2x2_clear</a> (<a class="el" href="../../d1/d04/structdblist.html">dblist</a> *l)</td></tr>
|
|
<tr class="memdesc:abfc7d5a8fff1bd14f16a501ee1755349"><td class="mdescLeft"> </td><td class="mdescRight">Phantom documentation. <br /></td></tr>
|
|
<tr class="separator:abfc7d5a8fff1bd14f16a501ee1755349"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aad019969171d29bf58df2740fe15d738" id="r_aad019969171d29bf58df2740fe15d738"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#aad019969171d29bf58df2740fe15d738">util_list_2x2_view</a> (<a class="el" href="../../d1/d04/structdblist.html">dblist</a> l)</td></tr>
|
|
<tr class="memdesc:aad019969171d29bf58df2740fe15d738"><td class="mdescLeft"> </td><td class="mdescRight">Phantom documentation. <br /></td></tr>
|
|
<tr class="separator:aad019969171d29bf58df2740fe15d738"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae173600429156cca4e5755d5aa628b81" id="r_ae173600429156cca4e5755d5aa628b81"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#ae173600429156cca4e5755d5aa628b81">util_list_2x2_push_back</a> (<a class="el" href="../../d1/d04/structdblist.html">dblist</a> *l, int val)</td></tr>
|
|
<tr class="memdesc:ae173600429156cca4e5755d5aa628b81"><td class="mdescLeft"> </td><td class="mdescRight">Phantom documentation. <br /></td></tr>
|
|
<tr class="separator:ae173600429156cca4e5755d5aa628b81"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a41d729a609f850d89a40e161c4cf189d" id="r_a41d729a609f850d89a40e161c4cf189d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a41d729a609f850d89a40e161c4cf189d">util_list_2x2_push_front</a> (<a class="el" href="../../d1/d04/structdblist.html">dblist</a> *l, int val)</td></tr>
|
|
<tr class="memdesc:a41d729a609f850d89a40e161c4cf189d"><td class="mdescLeft"> </td><td class="mdescRight">Phantom documentation. <br /></td></tr>
|
|
<tr class="separator:a41d729a609f850d89a40e161c4cf189d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a275a40c54b4c7ec73191a4ed1aba4936" id="r_a275a40c54b4c7ec73191a4ed1aba4936"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a275a40c54b4c7ec73191a4ed1aba4936">util_list_2x2_pop_back</a> (<a class="el" href="../../d1/d04/structdblist.html">dblist</a> *l)</td></tr>
|
|
<tr class="memdesc:a275a40c54b4c7ec73191a4ed1aba4936"><td class="mdescLeft"> </td><td class="mdescRight">Phantom documentation. <br /></td></tr>
|
|
<tr class="separator:a275a40c54b4c7ec73191a4ed1aba4936"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a838636447589eb073de9b8a0f20346d5" id="r_a838636447589eb073de9b8a0f20346d5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a838636447589eb073de9b8a0f20346d5">util_list_2x2_pop_front</a> (<a class="el" href="../../d1/d04/structdblist.html">dblist</a> *l)</td></tr>
|
|
<tr class="memdesc:a838636447589eb073de9b8a0f20346d5"><td class="mdescLeft"> </td><td class="mdescRight">Phantom documentation. <br /></td></tr>
|
|
<tr class="separator:a838636447589eb073de9b8a0f20346d5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae764753e3beb9811561b0ced2a625981" id="r_ae764753e3beb9811561b0ced2a625981"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#ae764753e3beb9811561b0ced2a625981">util_list_2x2_length</a> (<a class="el" href="../../d1/d04/structdblist.html">dblist</a> l)</td></tr>
|
|
<tr class="memdesc:ae764753e3beb9811561b0ced2a625981"><td class="mdescLeft"> </td><td class="mdescRight">Phantom documentation. <br /></td></tr>
|
|
<tr class="separator:ae764753e3beb9811561b0ced2a625981"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1133cba5111479ea7d7c4a79778560e1" id="r_a1133cba5111479ea7d7c4a79778560e1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a1133cba5111479ea7d7c4a79778560e1">util_sorted_list_clear</a> (<a class="el" href="../../df/d05/structslist.html">slist</a> **sl)</td></tr>
|
|
<tr class="separator:a1133cba5111479ea7d7c4a79778560e1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a87a5b344dd2c0ea1af5d36ea67b12517" id="r_a87a5b344dd2c0ea1af5d36ea67b12517"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a87a5b344dd2c0ea1af5d36ea67b12517">util_sorted_list_view</a> (<a class="el" href="../../df/d05/structslist.html">slist</a> *sl)</td></tr>
|
|
<tr class="separator:a87a5b344dd2c0ea1af5d36ea67b12517"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad75bea7d8dfb1dad20cd99a92a045f19" id="r_ad75bea7d8dfb1dad20cd99a92a045f19"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#ad75bea7d8dfb1dad20cd99a92a045f19">util_sorted_list_insert</a> (<a class="el" href="../../df/d05/structslist.html">slist</a> **sl, int val)</td></tr>
|
|
<tr class="separator:ad75bea7d8dfb1dad20cd99a92a045f19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aee1f73cdb28ee531042c9f84875d3e5f" id="r_aee1f73cdb28ee531042c9f84875d3e5f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#aee1f73cdb28ee531042c9f84875d3e5f">util_sorted_list_pop</a> (<a class="el" href="../../df/d05/structslist.html">slist</a> **sl)</td></tr>
|
|
<tr class="separator:aee1f73cdb28ee531042c9f84875d3e5f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a35eb9fbef7ed4d3e9dc93f74d0e9934a" id="r_a35eb9fbef7ed4d3e9dc93f74d0e9934a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a35eb9fbef7ed4d3e9dc93f74d0e9934a">util_sorted_list_length</a> (<a class="el" href="../../df/d05/structslist.html">slist</a> *sl)</td></tr>
|
|
<tr class="separator:a35eb9fbef7ed4d3e9dc93f74d0e9934a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaa9fc96cf3047e5a323156c7f500d5fb" id="r_aaa9fc96cf3047e5a323156c7f500d5fb"><td class="memItemLeft" align="right" valign="top"><a id="aaa9fc96cf3047e5a323156c7f500d5fb" name="aaa9fc96cf3047e5a323156c7f500d5fb"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>util_trigger_test</b> ()</td></tr>
|
|
<tr class="memdesc:aaa9fc96cf3047e5a323156c7f500d5fb"><td class="mdescLeft"> </td><td class="mdescRight">simplifying utilities tests <br /></td></tr>
|
|
<tr class="separator:aaa9fc96cf3047e5a323156c7f500d5fb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a05aec803518f49ffdeff1db6045a6652" id="r_a05aec803518f49ffdeff1db6045a6652"><td class="memItemLeft" align="right" valign="top"><a id="a05aec803518f49ffdeff1db6045a6652" name="a05aec803518f49ffdeff1db6045a6652"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>util_test_pile</b> ()</td></tr>
|
|
<tr class="memdesc:a05aec803518f49ffdeff1db6045a6652"><td class="mdescLeft"> </td><td class="mdescRight">sample test <br /></td></tr>
|
|
<tr class="separator:a05aec803518f49ffdeff1db6045a6652"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2237b720be9f32414c3caccc1bec0d97" id="r_a2237b720be9f32414c3caccc1bec0d97"><td class="memItemLeft" align="right" valign="top"><a id="a2237b720be9f32414c3caccc1bec0d97" name="a2237b720be9f32414c3caccc1bec0d97"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>util_test_double_list</b> ()</td></tr>
|
|
<tr class="memdesc:a2237b720be9f32414c3caccc1bec0d97"><td class="mdescLeft"> </td><td class="mdescRight">sample test <br /></td></tr>
|
|
<tr class="separator:a2237b720be9f32414c3caccc1bec0d97"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a94626d7f8c95811287f249c2db85448f" id="r_a94626d7f8c95811287f249c2db85448f"><td class="memItemLeft" align="right" valign="top"><a id="a94626d7f8c95811287f249c2db85448f" name="a94626d7f8c95811287f249c2db85448f"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>util_test_sorted_list</b> ()</td></tr>
|
|
<tr class="memdesc:a94626d7f8c95811287f249c2db85448f"><td class="mdescLeft"> </td><td class="mdescRight">sample test <br /></td></tr>
|
|
<tr class="separator:a94626d7f8c95811287f249c2db85448f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adbe03a3d239b22390e9de809443c8df9" id="r_adbe03a3d239b22390e9de809443c8df9"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#adbe03a3d239b22390e9de809443c8df9">util_gl_get_stack</a> (void *container_widget)</td></tr>
|
|
<tr class="memdesc:adbe03a3d239b22390e9de809443c8df9"><td class="mdescLeft"> </td><td class="mdescRight">Look for stack entry and returns stack_id. <br /></td></tr>
|
|
<tr class="separator:adbe03a3d239b22390e9de809443c8df9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a133e79c96135a44a4d4df48051aafbef" id="r_a133e79c96135a44a4d4df48051aafbef"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a133e79c96135a44a4d4df48051aafbef">util_gl_is_util_ready</a> (void *container_widget)</td></tr>
|
|
<tr class="memdesc:a133e79c96135a44a4d4df48051aafbef"><td class="mdescLeft"> </td><td class="mdescRight">Look for stack entry and returns stack_id. <br /></td></tr>
|
|
<tr class="separator:a133e79c96135a44a4d4df48051aafbef"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a28b44187c7ae713705874288323e10a6" id="r_a28b44187c7ae713705874288323e10a6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a28b44187c7ae713705874288323e10a6">util_gl_init_stack</a> (void *container_widget, GError *error_buffer)</td></tr>
|
|
<tr class="memdesc:a28b44187c7ae713705874288323e10a6"><td class="mdescLeft"> </td><td class="mdescRight">Look for stack entry and initializes OpenGL for it. <br /></td></tr>
|
|
<tr class="separator:a28b44187c7ae713705874288323e10a6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9d41985e1832e0a798e722d2341752f1" id="r_a9d41985e1832e0a798e722d2341752f1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a9d41985e1832e0a798e722d2341752f1">util_gl_shutdown_stack</a> (void *container_widget, GError *error_buffer)</td></tr>
|
|
<tr class="memdesc:a9d41985e1832e0a798e722d2341752f1"><td class="mdescLeft"> </td><td class="mdescRight">Look for stack entry and shutdowns OpenGL for it. <br /></td></tr>
|
|
<tr class="separator:a9d41985e1832e0a798e722d2341752f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0a523986944f809fac9acc1693f3029" id="r_ab0a523986944f809fac9acc1693f3029"><td class="memItemLeft" align="right" valign="top"><a id="ab0a523986944f809fac9acc1693f3029" name="ab0a523986944f809fac9acc1693f3029"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>util_gl_clean_stack_index</b> (void)</td></tr>
|
|
<tr class="memdesc:ab0a523986944f809fac9acc1693f3029"><td class="mdescLeft"> </td><td class="mdescRight">phantom documentation used to test the functioning of doxygen <br /></td></tr>
|
|
<tr class="separator:ab0a523986944f809fac9acc1693f3029"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8132a1a797f4f12eaff04b4c3610f054" id="r_a8132a1a797f4f12eaff04b4c3610f054"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a8132a1a797f4f12eaff04b4c3610f054">util_gl_render_stack</a> (GtkWidget *container_widget)</td></tr>
|
|
<tr class="memdesc:a8132a1a797f4f12eaff04b4c3610f054"><td class="mdescLeft"> </td><td class="mdescRight">Look for stack entry and triggers OpenGL for drawing. <br /></td></tr>
|
|
<tr class="separator:a8132a1a797f4f12eaff04b4c3610f054"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad830e66002a24806e3617946dc988e95" id="r_ad830e66002a24806e3617946dc988e95"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#ad830e66002a24806e3617946dc988e95">util_gl_update_axis</a> (GtkWidget *container_widget, int axis, int value)</td></tr>
|
|
<tr class="memdesc:ad830e66002a24806e3617946dc988e95"><td class="mdescLeft"> </td><td class="mdescRight">Look for stack entry and triggers OpenGL for drawing. <br /></td></tr>
|
|
<tr class="separator:ad830e66002a24806e3617946dc988e95"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae2198c050662c486c8e66c6e6b5a7e0b" id="r_ae2198c050662c486c8e66c6e6b5a7e0b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#ae2198c050662c486c8e66c6e6b5a7e0b">util_gl_shutdown_all_stacks</a> (void)</td></tr>
|
|
<tr class="memdesc:ae2198c050662c486c8e66c6e6b5a7e0b"><td class="mdescLeft"> </td><td class="mdescRight">Look for every stack entry and shutdowns OpenGL for it. <br /></td></tr>
|
|
<tr class="separator:ae2198c050662c486c8e66c6e6b5a7e0b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2cb205bd6556250d019b4de59eee3894" id="r_a2cb205bd6556250d019b4de59eee3894"><td class="memItemLeft" align="right" valign="top">GtkWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d0c/util_8h.html#a2cb205bd6556250d019b4de59eee3894">create_axis_slider</a> (int axis)</td></tr>
|
|
<tr class="memdesc:a2cb205bd6556250d019b4de59eee3894"><td class="mdescLeft"> </td><td class="mdescRight">Creates a slider widget. <br /></td></tr>
|
|
<tr class="separator:a2cb205bd6556250d019b4de59eee3894"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>utilities header </p>
|
|
<p>This file is part of Gem-graph. </p>
|
|
</div><h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a2cb205bd6556250d019b4de59eee3894" name="a2cb205bd6556250d019b4de59eee3894"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2cb205bd6556250d019b4de59eee3894">◆ </a></span>create_axis_slider()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GtkWidget * create_axis_slider </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>axis</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Creates a slider widget. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">axis</td><td>meaning which axis we're building (for label)</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>GtkWidget* pointer to the new widget</dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">axis</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>GtkWidget * </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7a9bfe2d249e5da19a1117c7d5636b8a" name="a7a9bfe2d249e5da19a1117c7d5636b8a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7a9bfe2d249e5da19a1117c7d5636b8a">◆ </a></span>util_concat()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">char * util_concat </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>str</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname"><em>...</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p><a href="https://sourceware.org/glibc/manual/latest/html_mono/libc.html#Variadic-Prototypes">https://sourceware.org/glibc/manual/latest/html_mono/libc.html#Variadic-Prototypes</a> </p>
|
|
<dl class="section see"><dt>See also</dt><dd>(in glibc/manual) > ellipsis (‘…’) A.2.2.2 Receiving the Argument Values</dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*str</td><td></td></tr>
|
|
<tr><td class="paramname">...</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>* </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adbe03a3d239b22390e9de809443c8df9" name="adbe03a3d239b22390e9de809443c8df9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adbe03a3d239b22390e9de809443c8df9">◆ </a></span>util_gl_get_stack()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">long util_gl_get_stack </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>container_widget</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Look for stack entry and returns stack_id. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*container_widget</td><td>generally the GtkBox that contains the GLArea</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>stack_id</dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*container_widget</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>stack_id </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a28b44187c7ae713705874288323e10a6" name="a28b44187c7ae713705874288323e10a6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a28b44187c7ae713705874288323e10a6">◆ </a></span>util_gl_init_stack()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool util_gl_init_stack </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>container_widget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">GError * </td>
|
|
<td class="paramname"><em>error_buffer</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Look for stack entry and initializes OpenGL for it. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*container_widget</td><td>generally the GtkBox that contains the GLArea</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool true if success</dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*container_widget</td><td></td></tr>
|
|
<tr><td class="paramname">*error_buffer</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a133e79c96135a44a4d4df48051aafbef" name="a133e79c96135a44a4d4df48051aafbef"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a133e79c96135a44a4d4df48051aafbef">◆ </a></span>util_gl_is_util_ready()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">long util_gl_is_util_ready </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>container_widget</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Look for stack entry and returns stack_id. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*container_widget</td><td>generally the GtkBox that contains the GLArea</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>stack_id </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8132a1a797f4f12eaff04b4c3610f054" name="a8132a1a797f4f12eaff04b4c3610f054"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8132a1a797f4f12eaff04b4c3610f054">◆ </a></span>util_gl_render_stack()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool util_gl_render_stack </td>
|
|
<td>(</td>
|
|
<td class="paramtype">GtkWidget * </td>
|
|
<td class="paramname"><em>container_widget</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Look for stack entry and triggers OpenGL for drawing. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*container_widget</td><td>generally the GtkBox that contains the GLArea</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool true if success</dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">container_widget</td><td>generally the GtkBox that contains the GLArea</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool: true if success </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae2198c050662c486c8e66c6e6b5a7e0b" name="ae2198c050662c486c8e66c6e6b5a7e0b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae2198c050662c486c8e66c6e6b5a7e0b">◆ </a></span>util_gl_shutdown_all_stacks()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_gl_shutdown_all_stacks </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Look for every stack entry and shutdowns OpenGL for it. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">void</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool true if success</dd></dl>
|
|
<p>returns true if success ? TODO why not bool ? </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9d41985e1832e0a798e722d2341752f1" name="a9d41985e1832e0a798e722d2341752f1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9d41985e1832e0a798e722d2341752f1">◆ </a></span>util_gl_shutdown_stack()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool util_gl_shutdown_stack </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>container_widget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">GError * </td>
|
|
<td class="paramname"><em>error_buffer</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Look for stack entry and shutdowns OpenGL for it. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*container_widget</td><td>generally the GtkBox that contains the GLArea </td></tr>
|
|
<tr><td class="paramname">*error_buffer</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool: true if success </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad830e66002a24806e3617946dc988e95" name="ad830e66002a24806e3617946dc988e95"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad830e66002a24806e3617946dc988e95">◆ </a></span>util_gl_update_axis()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool util_gl_update_axis </td>
|
|
<td>(</td>
|
|
<td class="paramtype">GtkWidget * </td>
|
|
<td class="paramname"><em>container_widget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>axis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </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>Look for stack entry and triggers OpenGL for drawing. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*container_widget</td><td></td></tr>
|
|
<tr><td class="paramname">axis</td><td></td></tr>
|
|
<tr><td class="paramname">value</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>bool: true if success </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abfc7d5a8fff1bd14f16a501ee1755349" name="abfc7d5a8fff1bd14f16a501ee1755349"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abfc7d5a8fff1bd14f16a501ee1755349">◆ </a></span>util_list_2x2_clear()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_list_2x2_clear </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../d1/d04/structdblist.html">dblist</a> * </td>
|
|
<td class="paramname"><em>l</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Phantom documentation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*l</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3133311b2fe84f2d9745f67f2cc02bd3" name="a3133311b2fe84f2d9745f67f2cc02bd3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3133311b2fe84f2d9745f67f2cc02bd3">◆ </a></span>util_list_2x2_init()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_list_2x2_init </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../d1/d04/structdblist.html">dblist</a> * </td>
|
|
<td class="paramname"><em>l</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Phantom documentation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*l</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae764753e3beb9811561b0ced2a625981" name="ae764753e3beb9811561b0ced2a625981"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae764753e3beb9811561b0ced2a625981">◆ </a></span>util_list_2x2_length()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_list_2x2_length </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../d1/d04/structdblist.html">dblist</a> </td>
|
|
<td class="paramname"><em>l</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Phantom documentation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*l</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a275a40c54b4c7ec73191a4ed1aba4936" name="a275a40c54b4c7ec73191a4ed1aba4936"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a275a40c54b4c7ec73191a4ed1aba4936">◆ </a></span>util_list_2x2_pop_back()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_list_2x2_pop_back </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../d1/d04/structdblist.html">dblist</a> * </td>
|
|
<td class="paramname"><em>l</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Phantom documentation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*l</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a838636447589eb073de9b8a0f20346d5" name="a838636447589eb073de9b8a0f20346d5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a838636447589eb073de9b8a0f20346d5">◆ </a></span>util_list_2x2_pop_front()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_list_2x2_pop_front </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../d1/d04/structdblist.html">dblist</a> * </td>
|
|
<td class="paramname"><em>l</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Phantom documentation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*l</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae173600429156cca4e5755d5aa628b81" name="ae173600429156cca4e5755d5aa628b81"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae173600429156cca4e5755d5aa628b81">◆ </a></span>util_list_2x2_push_back()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_list_2x2_push_back </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../d1/d04/structdblist.html">dblist</a> * </td>
|
|
<td class="paramname"><em>l</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>val</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Phantom documentation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*l</td><td></td></tr>
|
|
<tr><td class="paramname">val</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a41d729a609f850d89a40e161c4cf189d" name="a41d729a609f850d89a40e161c4cf189d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a41d729a609f850d89a40e161c4cf189d">◆ </a></span>util_list_2x2_push_front()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_list_2x2_push_front </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../d1/d04/structdblist.html">dblist</a> * </td>
|
|
<td class="paramname"><em>l</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>val</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Phantom documentation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*l</td><td></td></tr>
|
|
<tr><td class="paramname">val</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aad019969171d29bf58df2740fe15d738" name="aad019969171d29bf58df2740fe15d738"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aad019969171d29bf58df2740fe15d738">◆ </a></span>util_list_2x2_view()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_list_2x2_view </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../d1/d04/structdblist.html">dblist</a> </td>
|
|
<td class="paramname"><em>l</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Phantom documentation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*l</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a87a9dcc9beba6b65e30ce4294c20713d" name="a87a9dcc9beba6b65e30ce4294c20713d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a87a9dcc9beba6b65e30ce4294c20713d">◆ </a></span>util_pile_clear()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_pile_clear </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> ** </td>
|
|
<td class="paramname"><em>p</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**p</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afbb61183d866a834bdf9cae2be6c84f5" name="afbb61183d866a834bdf9cae2be6c84f5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afbb61183d866a834bdf9cae2be6c84f5">◆ </a></span>util_pile_length()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_pile_length </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> * </td>
|
|
<td class="paramname"><em>p</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**p</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>length </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a121e2ed13ed9448f33173ebaefba3679" name="a121e2ed13ed9448f33173ebaefba3679"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a121e2ed13ed9448f33173ebaefba3679">◆ </a></span>util_pile_pop()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_pile_pop </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> ** </td>
|
|
<td class="paramname"><em>p</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**p</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>value </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae6f16aafebd809c62cacd9abc3892925" name="ae6f16aafebd809c62cacd9abc3892925"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae6f16aafebd809c62cacd9abc3892925">◆ </a></span>util_pile_push()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_pile_push </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> ** </td>
|
|
<td class="paramname"><em>p</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>value</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**p</td><td></td></tr>
|
|
<tr><td class="paramname">value</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>value </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afbc42bf42f66e0aa969de04212c4e07a" name="afbc42bf42f66e0aa969de04212c4e07a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afbc42bf42f66e0aa969de04212c4e07a">◆ </a></span>util_pile_view()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_pile_view </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> * </td>
|
|
<td class="paramname"><em>p</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**p</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a40bb126a021a338b20022e741bbd4ae1" name="a40bb126a021a338b20022e741bbd4ae1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a40bb126a021a338b20022e741bbd4ae1">◆ </a></span>util_read_file()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">char * util_read_file </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>filename</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>reads a file from filename into a provided buffer </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">*filename</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>char </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1133cba5111479ea7d7c4a79778560e1" name="a1133cba5111479ea7d7c4a79778560e1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1133cba5111479ea7d7c4a79778560e1">◆ </a></span>util_sorted_list_clear()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_sorted_list_clear </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../df/d05/structslist.html">slist</a> ** </td>
|
|
<td class="paramname"><em>sl</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**sl</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad75bea7d8dfb1dad20cd99a92a045f19" name="ad75bea7d8dfb1dad20cd99a92a045f19"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad75bea7d8dfb1dad20cd99a92a045f19">◆ </a></span>util_sorted_list_insert()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_sorted_list_insert </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../df/d05/structslist.html">slist</a> ** </td>
|
|
<td class="paramname"><em>sl</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>value</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**sl</td><td></td></tr>
|
|
<tr><td class="paramname">value</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>value </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a35eb9fbef7ed4d3e9dc93f74d0e9934a" name="a35eb9fbef7ed4d3e9dc93f74d0e9934a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a35eb9fbef7ed4d3e9dc93f74d0e9934a">◆ </a></span>util_sorted_list_length()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_sorted_list_length </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../df/d05/structslist.html">slist</a> * </td>
|
|
<td class="paramname"><em>sl</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**sl</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>length </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aee1f73cdb28ee531042c9f84875d3e5f" name="aee1f73cdb28ee531042c9f84875d3e5f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aee1f73cdb28ee531042c9f84875d3e5f">◆ </a></span>util_sorted_list_pop()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int util_sorted_list_pop </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../df/d05/structslist.html">slist</a> ** </td>
|
|
<td class="paramname"><em>sl</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**sl</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>value </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a87a5b344dd2c0ea1af5d36ea67b12517" name="a87a5b344dd2c0ea1af5d36ea67b12517"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a87a5b344dd2c0ea1af5d36ea67b12517">◆ </a></span>util_sorted_list_view()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void util_sorted_list_view </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="../../df/d05/structslist.html">slist</a> * </td>
|
|
<td class="paramname"><em>sl</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">**sl</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|