ENH: Releasenotes-dev: updated functions

This commit is contained in:
mattijs
2011-03-25 10:53:56 +00:00
parent 20b1d49a82
commit 5838649e19
2 changed files with 4 additions and 4 deletions

View File

@ -281,7 +281,7 @@
to provide an in-line functionObject. E.g. to provide an in-line functionObject. E.g.
#+BEGIN_SRC c++ #+BEGIN_SRC c++
functions functions
( {
pAverage pAverage
{ {
functionObjectLibs ("libutilityFunctionObjects.so"); functionObjectLibs ("libutilityFunctionObjects.so");
@ -293,7 +293,7 @@
Info<<"p avg:" << average(p) << endl; Info<<"p avg:" << average(p) << endl;
#}; #};
} }
); }
#+END_SRC #+END_SRC
See also [[./doc/changes/dynamicCode.org]] See also [[./doc/changes/dynamicCode.org]]

View File

@ -104,7 +104,7 @@
=functionObject=. =functionObject=.
#+BEGIN_SRC c++ #+BEGIN_SRC c++
functions functions
( {
pAverage pAverage
{ {
functionObjectLibs ("libutilityFunctionObjects.so"); functionObjectLibs ("libutilityFunctionObjects.so");
@ -117,7 +117,7 @@
Info<<"p avg:" << average(p) << endl; Info<<"p avg:" << average(p) << endl;
#}; #};
} }
); }
#+END_SRC #+END_SRC
This dynamic code framework uses the following entries This dynamic code framework uses the following entries
+ =codeData=: declaration (in .H file) of local (null-constructable) data + =codeData=: declaration (in .H file) of local (null-constructable) data