diff options
author | Karl Berry <karl@freefriends.org> | 2014-05-09 22:02:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-05-09 22:02:03 +0000 |
commit | a4891ad9599b8379a84905c95d032860554335f9 (patch) | |
tree | 9efb768853e370966544f5b1d0f650dfede872ec /Master/texmf-dist/doc/generic/docbytex/base.c | |
parent | 3718baf0c743e1846d48839f867ad5924e79c8a3 (diff) |
docbytex (9may14)
git-svn-id: svn://tug.org/texlive/trunk@33943 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/docbytex/base.c')
-rw-r--r-- | Master/texmf-dist/doc/generic/docbytex/base.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/docbytex/base.c b/Master/texmf-dist/doc/generic/docbytex/base.c new file mode 100644 index 00000000000..b2d1ce368b8 --- /dev/null +++ b/Master/texmf-dist/doc/generic/docbytex/base.c @@ -0,0 +1,17 @@ +#include <stdio.h> + +//: dvojice + +struct dvojice { + float x, y; +}; + +//: uzasna_funkce + +struct dvojice uzasna_funkce (float p) +{ + struct dvojice navrat; + navrat.x = 2*p; // tady nasobim p dvema + navrat.y = 3*p; // tady nasobim p tremi + return navrat; +} |