summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/base/source-manual/mplibapi.tex
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2017-04-16 00:40:55 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2017-04-16 00:40:55 +0000
commit6e0f4c28e7f151be4edb133d318d95b49ec094d7 (patch)
tree331914ffce65bc708a466cc8b8ad49eff3845e36 /Master/texmf-dist/doc/metapost/base/source-manual/mplibapi.tex
parent10ba3a66c7de45f278417547d876b6427c949efe (diff)
small updates to metapost manuals
git-svn-id: svn://tug.org/texlive/trunk@43819 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost/base/source-manual/mplibapi.tex')
-rw-r--r--Master/texmf-dist/doc/metapost/base/source-manual/mplibapi.tex12
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/metapost/base/source-manual/mplibapi.tex b/Master/texmf-dist/doc/metapost/base/source-manual/mplibapi.tex
index 97aa825db1c..c4bbfc2b519 100644
--- a/Master/texmf-dist/doc/metapost/base/source-manual/mplibapi.tex
+++ b/Master/texmf-dist/doc/metapost/base/source-manual/mplibapi.tex
@@ -46,9 +46,9 @@
\StartTitlePage
\centerline{\definedfont[TitleFont at 50pt]{\MPLIB}}
\blank[3*line]
-\centerline{\definedfont[SubTitleFont at 24pt]{API documentation, version 1.800}}
+\centerline{\definedfont[SubTitleFont at 24pt]{API documentation, version 2.000}}
\blank[3*line]
-\centerline{Taco Hoekwater, September 2012}
+\centerline{Taco Hoekwater, September 2012 -- Luigi Scarso, April 2017}
\StopTitlePage
\section{Table of contents}
@@ -383,6 +383,14 @@ immediately after the call to this function.
Returns the current value of the interpreter error state, as a \type{mp_history_state}.
This function is useful after \type{mp_initialize}.
+\cfunction{boolean }{mp_finished}{(MP mp)}
+
+Returns the current value of \type{mp->finished}.
+This function is useful to check if \type{mp_execute} will execute the string, because
+if \type{mp->finished} is \type{true} it will return after resetting the streams.
+
+
+
\cfunction{int }{mp_run}{(MP mp)}
Runs the \MPLIB\ instance using the \type{command_line} and other items from the