Skip to content

Commit

Permalink
Merge pull request #157 from wrapl/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rajamukherji authored Apr 12, 2024
2 parents 512033f + 3723bd4 commit f41449a
Show file tree
Hide file tree
Showing 107 changed files with 5,524 additions and 3,191 deletions.
4 changes: 4 additions & 0 deletions docs/api/inthash.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Inthash
=======

.. doxygengroup:: inthash
4 changes: 4 additions & 0 deletions docs/api/logging.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Logging
=======

.. doxygengroup:: logging
4 changes: 4 additions & 0 deletions docs/api/streams.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Streams
=======

.. doxygengroup:: streams
4 changes: 4 additions & 0 deletions docs/api/stringmap.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Stringmap
=========

.. doxygengroup:: stringmap
5 changes: 5 additions & 0 deletions docs/doxygen/xml/Doxyfile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@
<option id='SOURCE_TOOLTIPS' default='yes' type='bool'><value>YES</value></option>
<option id='USE_HTAGS' default='yes' type='bool'><value>NO</value></option>
<option id='VERBATIM_HEADERS' default='yes' type='bool'><value>YES</value></option>
<option id='CLANG_ASSISTED_PARSING' default='yes' type='bool'><value>NO</value></option>
<option id='CLANG_ADD_INC_PATHS' default='yes' type='bool'><value>YES</value></option>
<option id='CLANG_OPTIONS' default='yes' type='stringlist'>
</option>
<option id='CLANG_DATABASE_PATH' default='yes' type='string'><value><![CDATA[]]></value></option>
<option id='ALPHABETICAL_INDEX' default='yes' type='bool'><value>YES</value></option>
<option id='IGNORE_PREFIX' default='yes' type='stringlist'>
</option>
Expand Down
3 changes: 0 additions & 3 deletions docs/doxygen/xml/dir_68267d1309a1af8e8297ef4c3efbcdba.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
<innerdir refid="dir_c440a0232048a2af23c47d1be7b434ce">src/array</innerdir>
<innerdir refid="dir_f5f4ff3311de724cc1cde742592e824c">src/dynasm</innerdir>
<innerfile refid="coro_8h">coro.h</innerfile>
<innerfile refid="dap_8h">dap.h</innerfile>
<innerfile refid="gtk__console_8h">gtk_console.h</innerfile>
<innerfile refid="gtk__console__completion_8h">gtk_console_completion.h</innerfile>
<innerfile refid="inthash_8h">inthash.h</innerfile>
<innerfile refid="inthash2_8h">inthash2.h</innerfile>
<innerfile refid="linenoise_8h">linenoise.h</innerfile>
<innerfile refid="minilang_8h">minilang.h</innerfile>
<innerfile refid="ml__array_8h">ml_array.h</innerfile>
Expand Down Expand Up @@ -49,7 +47,6 @@
<innerfile refid="ml__socket_8h">ml_socket.h</innerfile>
<innerfile refid="ml__stream_8h">ml_stream.h</innerfile>
<innerfile refid="ml__string_8h">ml_string.h</innerfile>
<innerfile refid="ml__struct_8h">ml_struct.h</innerfile>
<innerfile refid="ml__table_8h">ml_table.h</innerfile>
<innerfile refid="ml__tasks_8h">ml_tasks.h</innerfile>
<innerfile refid="ml__thread_8h">ml_thread.h</innerfile>
Expand Down
28 changes: 14 additions & 14 deletions docs/doxygen/xml/group__externals.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1308" column="29" bodyfile="src/ml_types.h" bodystart="1308" bodyend="-1"/>
<location file="src/ml_types.h" line="1309" column="29" bodyfile="src/ml_types.h" bodystart="1309" bodyend="-1"/>
</memberdef>
<memberdef kind="typedef" id="group__externals_1ga27f584e8ed7e733ba66f1ae6c6a7c6bb" prot="public" static="no">
<type><ref refid="structml__value__t" kindref="compound">ml_value_t</ref> *(*</type>
Expand All @@ -30,7 +30,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1326" column="9" bodyfile="src/ml_types.h" bodystart="1326" bodyend="-1"/>
<location file="src/ml_types.h" line="1327" column="9" bodyfile="src/ml_types.h" bodystart="1327" bodyend="-1"/>
</memberdef>
</sectiondef>
<sectiondef kind="var">
Expand All @@ -45,7 +45,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1295" column="18" declfile="src/ml_types.h" declline="1295" declcolumn="18"/>
<location file="src/ml_types.h" line="1296" column="18" declfile="src/ml_types.h" declline="1296" declcolumn="18"/>
</memberdef>
<memberdef kind="variable" id="group__externals_1gacf1fce9ad8267b45c03259f33f2b8678" prot="public" static="no" extern="yes" mutable="no">
<type><ref refid="structml__type__t" kindref="compound">ml_type_t</ref></type>
Expand All @@ -58,7 +58,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1296" column="18" declfile="src/ml_types.h" declline="1296" declcolumn="18"/>
<location file="src/ml_types.h" line="1297" column="18" declfile="src/ml_types.h" declline="1297" declcolumn="18"/>
</memberdef>
<memberdef kind="variable" id="group__externals_1gacb691b8ab8295533b6548e21857794df" prot="public" static="no" extern="yes" mutable="no">
<type><ref refid="structml__externals__t" kindref="compound">ml_externals_t</ref></type>
Expand All @@ -71,7 +71,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1317" column="23" declfile="src/ml_types.h" declline="1317" declcolumn="23"/>
<location file="src/ml_types.h" line="1318" column="23" declfile="src/ml_types.h" declline="1318" declcolumn="23"/>
</memberdef>
</sectiondef>
<sectiondef kind="func">
Expand All @@ -98,7 +98,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1306" column="12" declfile="src/ml_types.h" declline="1306" declcolumn="12"/>
<location file="src/ml_types.h" line="1307" column="12" declfile="src/ml_types.h" declline="1307" declcolumn="12"/>
</memberdef>
<memberdef kind="function" id="group__externals_1ga380b46a551115456d5964f87854170f5" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type>const char *</type>
Expand All @@ -119,7 +119,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1318" column="12" declfile="src/ml_types.h" declline="1318" declcolumn="12"/>
<location file="src/ml_types.h" line="1319" column="12" declfile="src/ml_types.h" declline="1319" declcolumn="12"/>
</memberdef>
<memberdef kind="function" id="group__externals_1gafbbd21d0403b4ff590e5ebf1696a42dd" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type><ref refid="structml__value__t" kindref="compound">ml_value_t</ref> *</type>
Expand All @@ -140,7 +140,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1319" column="12" declfile="src/ml_types.h" declline="1319" declcolumn="12"/>
<location file="src/ml_types.h" line="1320" column="12" declfile="src/ml_types.h" declline="1320" declcolumn="12"/>
</memberdef>
<memberdef kind="function" id="group__externals_1ga0f673d48564801f5bf41926ceb9d7d1c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type>void</type>
Expand All @@ -165,7 +165,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1320" column="6" declfile="src/ml_types.h" declline="1320" declcolumn="6"/>
<location file="src/ml_types.h" line="1321" column="6" declfile="src/ml_types.h" declline="1321" declcolumn="6"/>
</memberdef>
<memberdef kind="function" id="group__externals_1ga78e180c2c39aaff40016215e9020402b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type>void</type>
Expand All @@ -186,7 +186,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1322" column="6" declfile="src/ml_types.h" declline="1322" declcolumn="6"/>
<location file="src/ml_types.h" line="1323" column="6" declfile="src/ml_types.h" declline="1323" declcolumn="6"/>
</memberdef>
<memberdef kind="function" id="group__externals_1ga06ebdfbc1846b43caef6d3d8ee970f7c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type><ref refid="structml__value__t" kindref="compound">ml_value_t</ref> *</type>
Expand All @@ -203,7 +203,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1324" column="12" declfile="src/ml_types.h" declline="1324" declcolumn="12"/>
<location file="src/ml_types.h" line="1325" column="12" declfile="src/ml_types.h" declline="1325" declcolumn="12"/>
</memberdef>
<memberdef kind="function" id="group__externals_1ga57aecb5be286c7a71b4b7fb7e355fd15" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type>void</type>
Expand All @@ -224,7 +224,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1328" column="6" declfile="src/ml_types.h" declline="1328" declcolumn="6"/>
<location file="src/ml_types.h" line="1329" column="6" declfile="src/ml_types.h" declline="1329" declcolumn="6"/>
</memberdef>
<memberdef kind="function" id="group__externals_1ga532d8b47261157966ec0f0f45db97af3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type><ref refid="structml__value__t" kindref="compound">ml_value_t</ref> *</type>
Expand All @@ -249,7 +249,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1329" column="12" declfile="src/ml_types.h" declline="1329" declcolumn="12"/>
<location file="src/ml_types.h" line="1330" column="12" declfile="src/ml_types.h" declline="1330" declcolumn="12"/>
</memberdef>
</sectiondef>
<sectiondef kind="define">
Expand All @@ -263,7 +263,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1333" column="9" bodyfile="src/ml_types.h" bodystart="1333" bodyend="-1"/>
<location file="src/ml_types.h" line="1334" column="9" bodyfile="src/ml_types.h" bodystart="1334" bodyend="-1"/>
</memberdef>
</sectiondef>
<briefdescription>
Expand Down
2 changes: 1 addition & 1 deletion docs/doxygen/xml/group__init.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/ml_types.h" line="1378" column="6" declfile="src/ml_types.h" declline="1378" declcolumn="6"/>
<location file="src/ml_types.h" line="1379" column="6" declfile="src/ml_types.h" declline="1379" declcolumn="6"/>
</memberdef>
</sectiondef>
<briefdescription>
Expand Down
208 changes: 208 additions & 0 deletions docs/doxygen/xml/group__inthash.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.10.0" xml:lang="en-US">
<compounddef id="group__inthash" kind="group">
<compoundname>inthash</compoundname>
<title>Inthash</title>
<innerclass refid="structinthash__t" prot="public">inthash_t</innerclass>
<innerclass refid="structinthash__result__t" prot="public">inthash_result_t</innerclass>
<sectiondef kind="typedef">
<memberdef kind="typedef" id="group__inthash_1ga35ec6770c96376fbd7e4ebd33c41e225" prot="public" static="no">
<type>struct inthash_t</type>
<definition>typedef struct inthash_t inthash_t</definition>
<argsstring></argsstring>
<name>inthash_t</name>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="15" column="24" bodyfile="src/inthash.h" bodystart="15" bodyend="-1"/>
</memberdef>
</sectiondef>
<sectiondef kind="func">
<memberdef kind="function" id="group__inthash_1gac8b4e1f4707c584dc03a5a4b1fe6915f" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type><ref refid="structinthash__t" kindref="compound">inthash_t</ref> *</type>
<definition>inthash_t * inthash_new</definition>
<argsstring>() __attribute__((malloc))</argsstring>
<name>inthash_new</name>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="28" column="11" declfile="src/inthash.h" declline="28" declcolumn="11"/>
</memberdef>
<memberdef kind="function" id="group__inthash_1gaa9f7ec5134103dc383959064723a2e25" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type>void *</type>
<definition>void * inthash_search</definition>
<argsstring>(const inthash_t *Map, uintptr_t Key) __attribute__((pure))</argsstring>
<name>inthash_search</name>
<param>
<type>const <ref refid="structinthash__t" kindref="compound">inthash_t</ref> *</type>
<declname>Map</declname>
</param>
<param>
<type>uintptr_t</type>
<declname>Key</declname>
</param>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="30" column="6" declfile="src/inthash.h" declline="30" declcolumn="6"/>
</memberdef>
<memberdef kind="function" id="group__inthash_1gaee868ab4d35a35ba57302035133f5282" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type>void *</type>
<definition>void * inthash_insert</definition>
<argsstring>(inthash_t *Map, uintptr_t Key, void *Value)</argsstring>
<name>inthash_insert</name>
<param>
<type><ref refid="structinthash__t" kindref="compound">inthash_t</ref> *</type>
<declname>Map</declname>
</param>
<param>
<type>uintptr_t</type>
<declname>Key</declname>
</param>
<param>
<type>void *</type>
<declname>Value</declname>
</param>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="31" column="6" declfile="src/inthash.h" declline="31" declcolumn="6"/>
</memberdef>
<memberdef kind="function" id="group__inthash_1ga4a152e7b6312c0d13311d92bdaeccdb1" prot="public" static="yes" const="no" explicit="no" inline="yes" virt="non-virtual">
<type>void *</type>
<definition>static void * inthash_search_inline</definition>
<argsstring>(const inthash_t *Map, uintptr_t Key)</argsstring>
<name>inthash_search_inline</name>
<param>
<type>const <ref refid="structinthash__t" kindref="compound">inthash_t</ref> *</type>
<declname>Map</declname>
</param>
<param>
<type>uintptr_t</type>
<declname>Key</declname>
</param>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="33" column="20" bodyfile="src/inthash.h" bodystart="33" bodyend="46"/>
</memberdef>
<memberdef kind="function" id="group__inthash_1gadc81ecd4ba4a3bc61c95fd9099b71e60" prot="public" static="yes" const="no" explicit="no" inline="yes" virt="non-virtual">
<type>int</type>
<definition>static int inthash_contains_inline</definition>
<argsstring>(const inthash_t *Map, uintptr_t Key)</argsstring>
<name>inthash_contains_inline</name>
<param>
<type>const <ref refid="structinthash__t" kindref="compound">inthash_t</ref> *</type>
<declname>Map</declname>
</param>
<param>
<type>uintptr_t</type>
<declname>Key</declname>
</param>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="48" column="19" bodyfile="src/inthash.h" bodystart="48" bodyend="61"/>
</memberdef>
<memberdef kind="function" id="group__inthash_1gaf28e2d798de07546d19ad48a8e9746cd" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<type><ref refid="structinthash__result__t" kindref="compound">inthash_result_t</ref></type>
<definition>inthash_result_t inthash_search2</definition>
<argsstring>(const inthash_t *Map, uintptr_t Key) __attribute__((pure))</argsstring>
<name>inthash_search2</name>
<param>
<type>const <ref refid="structinthash__t" kindref="compound">inthash_t</ref> *</type>
<declname>Map</declname>
</param>
<param>
<type>uintptr_t</type>
<declname>Key</declname>
</param>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="65" column="18" declfile="src/inthash.h" declline="65" declcolumn="18"/>
</memberdef>
<memberdef kind="function" id="group__inthash_1ga6d0b8beaaf60a0692f8b1c2d40fa80b0" prot="public" static="yes" const="no" explicit="no" inline="yes" virt="non-virtual">
<type><ref refid="structinthash__result__t" kindref="compound">inthash_result_t</ref></type>
<definition>static inthash_result_t inthash_search2_inline</definition>
<argsstring>(const inthash_t *Map, uintptr_t Key)</argsstring>
<name>inthash_search2_inline</name>
<param>
<type>const <ref refid="structinthash__t" kindref="compound">inthash_t</ref> *</type>
<declname>Map</declname>
</param>
<param>
<type>uintptr_t</type>
<declname>Key</declname>
</param>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="67" column="32" bodyfile="src/inthash.h" bodystart="67" bodyend="80"/>
</memberdef>
</sectiondef>
<sectiondef kind="define">
<memberdef kind="define" id="group__inthash_1ga27d72e87f09dbeafc3d36cc7904db468" prot="public" static="no">
<name>INTHASH_INDEX_SHIFT</name>
<initializer>6</initializer>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="23" column="9" bodyfile="src/inthash.h" bodystart="23" bodyend="-1"/>
</memberdef>
<memberdef kind="define" id="group__inthash_1ga815f76b04432c6fb81ad28140a77a6dc" prot="public" static="no">
<name>INTHASH_INCR_SHIFT</name>
<initializer>9</initializer>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="24" column="9" bodyfile="src/inthash.h" bodystart="24" bodyend="-1"/>
</memberdef>
<memberdef kind="define" id="group__inthash_1gaa68df1ce06c4c8542b0ecf7c4c77c94a" prot="public" static="no">
<name>INTHASH_INIT</name>
<initializer>(<ref refid="structinthash__t" kindref="compound">inthash_t</ref>){NULL, NULL, 0, 0}</initializer>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="src/inthash.h" line="26" column="9" bodyfile="src/inthash.h" bodystart="26" bodyend="-1"/>
</memberdef>
</sectiondef>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
</compounddef>
</doxygen>
Loading

0 comments on commit f41449a

Please sign in to comment.