Commit c1d90055 authored by Kunshan Wang's avatar Kunshan Wang

Fix other chapters for the changes in irbuilder

parent 28292bb6
...@@ -1064,11 +1064,10 @@ Bundle Loading ...@@ -1064,11 +1064,10 @@ Bundle Loading
============== ==============
The API provides the `load_bundle <api.rst#bundle-and-hail-loading>`__ and the The API provides the `load_bundle <api.rst#bundle-and-hail-loading>`__ and the
`load_bundle_from_node <irbuilder.rst#load-bundle-from-node>`__ functions. These `IRBuilder.load <irbuilder.rst#load>`__ functions. These functions load bundles
functions load bundles from the text form or the constructed AST. They can be from the text form or the constructed AST. They can be can be called by multiple
can be called by multiple client threads on their `client contexts client threads on their `client contexts <api.rst#client-context>`__, and the
<api.rst#client-context>`__, and the result is always equivalent to as if they result is always equivalent to as if they were loaded in a particular sequence.
were loaded in a particular sequence.
The client must ensure the names of all entities in all bundles (already loaded The client must ensure the names of all entities in all bundles (already loaded
or being loaded) are distinct. or being loaded) are distinct.
......
...@@ -340,13 +340,11 @@ defined as macros:: ...@@ -340,13 +340,11 @@ defined as macros::
compatibility problems. For this reason, we chose to explicitly use a compatibility problems. For this reason, we chose to explicitly use a
predictable int type ``uint32_t``. predictable int type ``uint32_t``.
.. _load:
Basic Functions Basic Functions
--------------- ---------------
::
.. _load:
:: ::
void (*load )(MuIRBuilder *b); void (*load )(MuIRBuilder *b);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment