1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="https://www.dublincore.org/specifications/dublin-core/dcmi-terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
viewBox="0 0 545.6 223.2"
inkscape:export-xdpi="79"
inkscape:export-ydpi="79">
<metadata>
<rdf:RDF>
<dc:type>still image</dc:type>
<dc:format>image/svg+xml</dc:format>
<dc:title>Gawk: Effective AWK Programming - Registering a new function</dc:title>
<dc:description>https://www.gnu.org/software/gawk/manual/gawk.html#figure_002dregister_002dnew_002dfunction</dc:description>
<dc:date>2025</dc:date>
<dc:source>https://git.savannah.gnu.org/cgit/gawk.git/tree/doc/gawk_api-figure2.eps</dc:source>
<dc:rights>
<dc:rightsHolder>Free Software Foundation, Inc.</dc:rightsHolder>
<dc:license>https://www.gnu.org/licenses/fdl.html</dc:license>
</dc:rights>
</rdf:RDF>
</metadata>
<defs>
<pattern
inkscape:collect="always"
xlink:href="#Strips1_5"
id="hatching1"
patternTransform="matrix(0.3,0.6,60,-40,0,0)" />
<pattern
inkscape:collect="always"
patternUnits="userSpaceOnUse"
width="6"
height="1"
id="Strips1_5"
inkscape:stockid="Stripes 1:5">
<rect
style="stroke:none"
x="0"
y="-0.5"
width="1"
height="2" />
</pattern>
<pattern
inkscape:collect="always"
xlink:href="#Strips1_5"
id="hatching2"
patternTransform="matrix(0.6,1.2,-60,-40,0,0)" />
</defs>
<g
style="stroke:#000;stroke-width:1">
<path
style="fill:#fff"
d="m 36.4,187 h 298.6 v -80 h -298.6 z"
id="main" />
<path
style="fill:#ccc"
d="m 335,187 h 174 v -80 h -174 z"
id="extension" />
<g
style="fill:url(#hatching1)">
<rect
x=" 65" y="107" width="23" height="80"
id="slot1" />
<rect
x="137" y="107" width="23" height="80"
id="slot2" />
<rect
x="186" y="107" width="28" height="80"
id="slot3" />
</g>
<rect
style="fill:url(#hatching1)"
x="446.5" y="107" width="28" height="80"
id="slot4-1" />
<rect
style="fill:url(#hatching2)"
x="446.5" y="107" width="28" height="80"
id="slot4-2" />
</g>
<g
style="fill:none;stroke:#000;stroke-width:1">
<path
d="m 83,102 c 110,-93 263.2,-89.3 378,5"
id="curve" />
<path
style="fill:#000"
d="m 88,101.5 -11,5 7.5,-9.5 z"
id="arrowhead" />
</g>
<text
style="font-weight:bold;font-size:15px;font-family:'FreeMono',monospace;-inkscape-font-specification:FreeMono"
x="77"
y="17.9">register_ext_func({ "chdir", do_chdir, 1 });
</text>
<text
style="font-weight:500;font-size:16px;font-family:'Fira Sans','FreeSans',sans-serif;-inkscape-font-specification:'Fira Sans Medium'"
text-anchor="middle">
<tspan
x="185.7" y="212">gawk Main Program Address Space</tspan>
<tspan
x="422" dy="0">Extension</tspan>
</text>
</svg>
|