Skip to content

Commit 77bdac1

Browse files
authored
Merge pull request #310 from jdinan/pr/remove-fexample
Update fexample -> cexample
2 parents 69a0842 + 108cf05 commit 77bdac1

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

content/shmem_init.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040

4141
\begin{apiexamples}
4242

43-
\apifexample
44-
{ The following \FUNC{shmem\_init} example is for \Cstd[11] programs: }
45-
{ example_code/shmem_init_example.c }
43+
\apicexample
44+
{The following \FUNC{shmem\_init} example is for \Cstd[11] programs:}
45+
{example_code/shmem_init_example.c}
4646
{}
4747

4848
\end{apiexamples}

content/shmem_reductions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316

317317
\begin{apiexamples}
318318

319-
\apifexample
319+
\apicexample
320320
{This \CorCpp reduction example gets integers from an external
321321
source (random genererator in this example), tests to see if the \ac{PE} got a valid
322322
value, and outputs the sum of values for which all \acp{PE} got a valid

utils/defs.tex

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -529,11 +529,6 @@
529529
basicstyle=\ttfamily\footnotesize,
530530
morekeywords={size_t, ptrdiff_t, shmem_ctx_t, _Thread_local, shmem_team_t, uint64_t}]{##2}
531531
##3 }
532-
\newcommand{\apifexample}[3]{
533-
##1
534-
\lstinputlisting[language={Fortran}, tabsize=2,
535-
basicstyle=\ttfamily\footnotesize, deletekeywords={TARGET}]{##2}
536-
##3 }
537532
\vspace{-2pt}
538533
\item[EXAMPLES] \hfill \\
539534
\vspace{-2pt}

0 commit comments

Comments
 (0)