home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| C source text
| default
| |
96%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 4f 62 | 6a 65 63 74 69 76 65 2d |ts of Ob|jective-|
|000000b0| 43 20 65 6e 63 6f 64 69 | 6e 67 3c 2f 54 49 54 4c |C encodi|ng</TITL|
|000000c0| 45 3e 0a 0a 3c 4d 45 54 | 41 20 48 54 54 50 2d 45 |E>..<MET|A HTTP-E|
|000000d0| 51 55 49 56 3d 22 43 6f | 6e 74 65 6e 74 2d 54 79 |QUIV="Co|ntent-Ty|
|000000e0| 70 65 22 20 43 4f 4e 54 | 45 4e 54 3d 22 74 65 78 |pe" CONT|ENT="tex|
|000000f0| 74 2f 68 74 6d 6c 3b 20 | 63 68 61 72 73 65 74 3d |t/html; |charset=|
|00000100| 75 74 66 2d 38 22 3e 0a | 3c 4d 45 54 41 20 4e 41 |utf-8">.|<META NA|
|00000110| 4d 45 3d 22 76 69 65 77 | 70 6f 72 74 22 20 43 4f |ME="view|port" CO|
|00000120| 4e 54 45 4e 54 3d 22 77 | 69 64 74 68 3d 64 65 76 |NTENT="w|idth=dev|
|00000130| 69 63 65 2d 77 69 64 74 | 68 2c 20 69 6e 69 74 69 |ice-widt|h, initi|
|00000140| 61 6c 2d 73 63 61 6c 65 | 3d 31 2e 30 22 3e 0a 3c |al-scale|=1.0">.<|
|00000150| 4d 45 54 41 20 4e 41 4d | 45 3d 22 47 65 6e 65 72 |META NAM|E="Gener|
|00000160| 61 74 6f 72 22 20 43 4f | 4e 54 45 4e 54 3d 22 4c |ator" CO|NTENT="L|
|00000170| 61 54 65 58 32 48 54 4d | 4c 20 76 32 30 32 32 22 |aTeX2HTM|L v2022"|
|00000180| 3e 0a 0a 3c 4c 49 4e 4b | 20 52 45 4c 3d 22 53 54 |>..<LINK| REL="ST|
|00000190| 59 4c 45 53 48 45 45 54 | 22 20 48 52 45 46 3d 22 |YLESHEET|" HREF="|
|000001a0| 6c 69 62 4f 62 6a 43 2e | 63 73 73 22 3e 0a 0a 3c |libObjC.|css">..<|
|000001b0| 4c 49 4e 4b 20 52 45 4c | 3d 22 70 72 65 76 69 6f |LINK REL|="previo|
|000001c0| 75 73 22 20 48 52 45 46 | 3d 22 6e 6f 64 65 35 5f |us" HREF|="node5_|
|000001d0| 6d 6e 2e 68 74 6d 6c 22 | 3e 0a 3c 4c 49 4e 4b 20 |mn.html"|>.<LINK |
|000001e0| 52 45 4c 3d 22 75 70 22 | 20 48 52 45 46 3d 22 6e |REL="up"| HREF="n|
|000001f0| 6f 64 65 31 5f 6d 6e 2e | 68 74 6d 6c 22 3e 0a 3c |ode1_mn.|html">.<|
|00000200| 2f 48 45 41 44 3e 0a 20 | 0a 3c 42 4f 44 59 20 62 |/HEAD>. |.<BODY b|
|00000210| 67 63 6f 6c 6f 72 3d 22 | 23 66 66 66 66 66 66 22 |gcolor="|#ffffff"|
|00000220| 20 74 65 78 74 3d 22 23 | 30 30 30 30 30 30 22 20 | text="#|000000" |
|00000230| 6c 69 6e 6b 3d 22 23 39 | 39 34 34 45 45 22 20 76 |link="#9|944EE" v|
|00000240| 6c 69 6e 6b 3d 22 23 30 | 30 30 30 66 66 22 20 61 |link="#0|000ff" a|
|00000250| 6c 69 6e 6b 3d 22 23 30 | 30 66 66 30 30 22 3e 0a |link="#0|0ff00">.|
|00000260| 0a 3c 48 32 3e 3c 41 20 | 49 44 3d 22 53 45 43 54 |.<H2><A |ID="SECT|
|00000270| 49 4f 4e 30 30 30 31 35 | 30 30 30 30 30 30 30 30 |ION00015|00000000|
|00000280| 30 30 30 30 30 30 30 22 | 3e 0a 4f 62 6a 65 63 74 |0000000"|>.Object|
|00000290| 69 76 65 2d 43 20 65 6e | 63 6f 64 69 6e 67 3c 2f |ive-C en|coding</|
|000002a0| 41 3e 0a 3c 2f 48 32 3e | 0a 0a 3c 50 3e 0a 54 68 |A>.</H2>|..<P>.Th|
|000002b0| 65 20 4f 62 6a 65 63 74 | 69 76 65 2d 43 20 6c 61 |e Object|ive-C la|
|000002c0| 6e 67 75 61 67 65 20 68 | 61 73 20 61 20 63 6f 6d |nguage h|as a com|
|000002d0| 70 69 6c 65 72 20 64 69 | 72 65 63 74 69 76 65 2c |piler di|rective,|
|000002e0| 20 40 65 6e 63 6f 64 65 | 2c 20 74 68 61 74 0a 77 | @encode|, that.w|
|000002f0| 68 65 6e 20 67 69 76 65 | 6e 20 61 20 74 79 70 65 |hen give|n a type|
|00000300| 20 73 70 65 63 69 66 69 | 63 61 74 69 6f 6e 20 72 | specifi|cation r|
|00000310| 65 74 75 72 6e 73 20 61 | 20 73 74 72 69 6e 67 20 |eturns a| string |
|00000320| 65 6e 63 6f 64 69 6e 67 | 20 74 68 61 74 20 74 79 |encoding| that ty|
|00000330| 70 65 2e 0a 54 68 65 20 | 74 79 70 65 20 63 61 6e |pe..The |type can|
|00000340| 20 62 65 20 61 20 62 61 | 73 69 63 20 74 79 70 65 | be a ba|sic type|
|00000350| 20 73 75 63 68 20 61 73 | 20 61 6e 20 69 6e 74 2c | such as| an int,|
|00000360| 20 61 20 70 6f 69 6e 74 | 65 72 2c 20 61 20 74 61 | a point|er, a ta|
|00000370| 67 67 65 64 0a 73 74 72 | 75 63 74 75 72 65 20 6f |gged.str|ucture o|
|00000380| 72 20 75 6e 69 6f 6e 2c | 20 6f 72 20 61 20 63 6c |r union,| or a cl|
|00000390| 61 73 73 20 6e 61 6d 65 | 20 26 6e 64 61 73 68 3b |ass name| –|
|000003a0| 20 61 6e 79 74 68 69 6e | 67 2c 20 69 6e 20 66 61 | anythin|g, in fa|
|000003b0| 63 74 2c 20 74 68 61 74 | 20 63 61 6e 20 62 65 0a |ct, that| can be.|
|000003c0| 75 73 65 64 20 61 73 20 | 61 6e 20 61 72 67 75 6d |used as |an argum|
|000003d0| 65 6e 74 20 74 6f 20 74 | 68 65 20 43 20 73 69 7a |ent to t|he C siz|
|000003e0| 65 6f 66 28 29 20 6f 70 | 65 72 61 74 6f 72 2e 0a |eof() op|erator..|
|000003f0| 0a 3c 50 3e 0a 46 6f 72 | 20 65 78 61 6d 70 6c 65 |.<P>.For| example|
|00000400| 3a 0a 3c 50 52 45 3e 0a | 63 68 61 72 20 2a 65 31 |:.<PRE>.|char *e1|
|00000410| 20 3d 20 40 65 6e 63 6f | 64 65 28 69 6e 74 20 2a | = @enco|de(int *|
|00000420| 2a 29 3b 0a 09 3d 26 67 | 74 3b 20 5e 5e 69 0a 63 |*);..=&g|t; ^^i.c|
|00000430| 68 61 72 20 2a 65 32 20 | 3d 20 40 65 6e 63 6f 64 |har *e2 |= @encod|
|00000440| 65 28 66 6c 6f 61 74 5b | 31 32 5d 29 3b 0a 09 3d |e(float[|12]);..=|
|00000450| 26 67 74 3b 20 5b 31 32 | 66 5d 0a 63 68 61 72 20 |> [12|f].char |
|00000460| 2a 65 33 20 3d 20 40 65 | 6e 63 6f 64 65 28 50 79 |*e3 = @e|ncode(Py|
|00000470| 53 74 72 69 6e 67 4f 62 | 6a 65 63 74 20 2a 29 3b |StringOb|ject *);|
|00000480| 0a 09 3d 26 67 74 3b 20 | 5e 7b 3f 3d 69 5e 7b 5f |..=> |^{?=i^{_|
|00000490| 74 79 70 65 6f 62 6a 65 | 63 74 7d 69 6c 5b 31 63 |typeobje|ct}il[1c|
|000004a0| 5d 7d 0a 3c 2f 50 52 45 | 3e 0a 0a 3c 50 3e 0a 54 |]}.</PRE|>..<P>.T|
|000004b0| 68 65 20 4f 62 6a 43 20 | 6d 6f 64 75 6c 65 20 74 |he ObjC |module t|
|000004c0| 72 69 65 73 20 74 6f 20 | 68 69 64 65 20 61 73 20 |ries to |hide as |
|000004d0| 6d 75 63 68 20 61 73 20 | 70 6f 73 73 69 62 6c 65 |much as |possible|
|000004e0| 20 74 68 65 73 65 20 64 | 65 74 61 69 6c 73 2c 20 | these d|etails, |
|000004f0| 62 75 74 0a 6e 65 76 65 | 72 74 68 65 6c 65 73 73 |but.neve|rtheless|
|00000500| 20 79 6f 75 20 6d 61 79 | 20 66 69 6e 64 20 75 73 | you may| find us|
|00000510| 65 66 75 6c 6c 20 74 6f | 20 75 6e 64 65 72 73 74 |efull to| underst|
|00000520| 61 6e 64 20 74 68 65 20 | 6d 65 63 68 61 6e 69 73 |and the |mechanis|
|00000530| 6d 3a 20 77 68 65 6e 0a | 79 6f 75 20 70 61 73 73 |m: when.|you pass|
|00000540| 20 61 20 77 72 6f 6e 67 | 20 61 72 67 75 6d 65 6e | a wrong| argumen|
|00000550| 74 20 74 6f 20 61 6e 20 | 4f 62 6a 43 20 6d 65 73 |t to an |ObjC mes|
|00000560| 73 61 67 65 2c 20 74 68 | 65 20 65 78 63 65 70 74 |sage, th|e except|
|00000570| 69 6f 6e 20 72 61 69 73 | 65 64 0a 63 6f 6e 74 61 |ion rais|ed.conta|
|00000580| 69 6e 73 20 74 68 65 20 | 40 65 6e 63 6f 64 65 64 |ins the |@encoded|
|00000590| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of |
|000005a0| 74 68 65 20 65 78 70 65 | 63 74 65 64 20 74 79 70 |the expe|cted typ|
|000005b0| 65 20 66 6f 72 20 74 68 | 61 74 0a 61 72 67 75 6d |e for th|at.argum|
|000005c0| 65 6e 74 2c 20 61 6e 64 | 20 75 73 69 6e 67 20 74 |ent, and| using t|
|000005d0| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 62 |he infor|mation b|
|000005e0| 65 6c 6f 77 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |elow you| should |
|000005f0| 62 65 20 61 62 6c 65 20 | 74 6f 0a 63 6f 72 72 65 |be able |to.corre|
|00000600| 63 74 6c 79 20 63 6f 6e | 73 74 72 75 63 74 20 74 |ctly con|struct t|
|00000610| 68 65 20 6e 65 65 64 65 | 64 20 76 61 6c 75 65 2e |he neede|d value.|
|00000620| 0a 0a 3c 50 3e 0a 54 68 | 65 20 74 61 62 6c 65 20 |..<P>.Th|e table |
|00000630| 62 65 6c 6f 77 20 6c 69 | 73 74 73 20 74 68 65 20 |below li|sts the |
|00000640| 63 68 61 72 61 63 74 65 | 72 73 20 75 73 65 64 20 |characte|rs used |
|00000650| 62 79 20 74 68 69 73 20 | 6d 65 63 68 61 6e 69 73 |by this |mechanis|
|00000660| 6d 2c 20 77 69 74 68 0a | 74 68 65 69 72 20 6d 65 |m, with.|their me|
|00000670| 61 6e 69 6e 67 73 2e 20 | 54 68 65 20 74 68 69 72 |anings. |The thir|
|00000680| 64 20 63 6f 6c 75 6d 6e | 20 74 65 6c 6c 73 20 68 |d column| tells h|
|00000690| 6f 77 20 74 68 65 20 70 | 61 72 74 69 63 75 6c 61 |ow the p|articula|
|000006a0| 72 20 69 74 65 6d 20 74 | 79 70 65 0a 6d 61 74 63 |r item t|ype.matc|
|000006b0| 68 65 73 20 77 69 74 68 | 20 74 68 65 20 50 79 74 |hes with| the Pyt|
|000006c0| 68 6f 6e 20 6f 62 6a 65 | 63 74 73 2e 20 41 73 20 |hon obje|cts. As |
|000006d0| 70 6f 69 6e 74 65 64 20 | 6f 75 74 20 61 62 6f 76 |pointed |out abov|
|000006e0| 65 2c 20 79 6f 75 20 63 | 61 6e 0a 69 6e 64 69 66 |e, you c|an.indif|
|000006f0| 66 65 72 65 6e 74 6c 79 | 20 70 61 73 73 20 61 6e |ferently| pass an|
|00000700| 20 69 6e 74 65 67 65 72 | 20 6f 72 20 61 20 73 74 | integer| or a st|
|00000710| 72 69 6e 67 20 66 6f 72 | 20 61 6e 20 61 72 67 75 |ring for| an argu|
|00000720| 6d 65 6e 74 20 6f 66 20 | 74 79 70 65 0a 63 68 61 |ment of |type.cha|
|00000730| 72 2c 20 62 75 74 20 74 | 68 65 20 6d 6f 64 75 6c |r, but t|he modul|
|00000740| 65 20 74 72 61 6e 73 6c | 61 74 65 73 20 73 75 63 |e transl|ates suc|
|00000750| 68 20 76 61 6c 75 65 73 | 20 74 6f 20 69 6e 74 65 |h values| to inte|
|00000760| 67 65 72 73 20 77 68 65 | 6e 0a 74 68 65 79 20 61 |gers whe|n.they a|
|00000770| 72 65 20 72 65 74 75 72 | 6e 65 64 20 62 79 20 61 |re retur|ned by a|
|00000780| 20 6d 65 74 68 6f 64 2e | 0a 0a 3c 50 3e 0a 3c 42 | method.|..<P>.<B|
|00000790| 52 3e 0a 3c 49 4d 47 0a | 20 53 54 59 4c 45 3d 22 |R>.<IMG.| STYLE="|
|000007a0| 68 65 69 67 68 74 3a 20 | 33 31 34 2e 30 30 65 78 |height: |314.00ex|
|000007b0| 3b 20 22 20 53 52 43 3d | 22 69 6d 67 32 34 2e 70 |; " SRC=|"img24.p|
|000007c0| 6e 67 22 0a 20 41 4c 54 | 3d 22 5c 62 65 67 69 6e |ng". ALT|="\begin|
|000007d0| 7b 74 61 62 6c 65 69 69 | 69 7d 7b 5c 76 65 72 74 |{tableii|i}{\vert|
|000007e0| 20 63 5c 76 65 72 74 20 | 6c 5c 76 65 72 74 20 63 | c\vert |l\vert c|
|000007f0| 5c 76 65 72 74 7d 7b 63 | 6f 64 65 7d 7b 43 6f 64 |\vert}{c|ode}{Cod|
|00000800| 65 7d 7b 4d 65 61 6e 69 | 6e 67 7d 7b 50 79 74 68 |e}{Meani|ng}{Pyth|
|00000810| 6f 6e 20 45 71 75 69 76 | 61 6c 2e 2e 2e 0a 2e 2e |on Equiv|al......|
|00000820| 2e 41 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 74 79 |.A point|er to ty|
|00000830| 70 65 7d 7b 76 61 6c 75 | 65 20 66 6f 72 20 74 79 |pe}{valu|e for ty|
|00000840| 70 65 7d 0a 5c 6c 69 6e | 65 69 69 69 7b 3f 7d 7b |pe}.\lin|eiii{?}{|
|00000850| 41 6e 20 75 6e 6b 6e 6f | 77 6e 20 74 79 70 65 7d |An unkno|wn type}|
|00000860| 7b 7d 0a 5c 65 6e 64 7b | 74 61 62 6c 65 69 69 69 |{}.\end{|tableiii|
|00000870| 7d 22 3e 0a 3c 42 52 3e | 0a 0a 3c 50 3e 0a 54 68 |}">.<BR>|..<P>.Th|
|00000880| 65 20 74 79 70 65 20 73 | 70 65 63 69 66 69 63 61 |e type s|pecifica|
|00000890| 74 69 6f 6e 20 66 6f 72 | 20 61 6e 20 61 72 72 61 |tion for| an arra|
|000008a0| 79 20 69 73 20 65 6e 63 | 6c 6f 73 65 64 20 77 69 |y is enc|losed wi|
|000008b0| 74 68 69 6e 20 73 71 75 | 61 72 65 0a 62 72 61 63 |thin squ|are.brac|
|000008c0| 6b 65 74 73 3b 20 74 68 | 65 20 6e 75 6d 62 65 72 |kets; th|e number|
|000008d0| 20 6f 66 20 65 6c 65 6d | 65 6e 74 73 20 69 6e 20 | of elem|ents in |
|000008e0| 74 68 65 20 61 72 72 61 | 79 20 69 73 20 73 70 65 |the arra|y is spe|
|000008f0| 63 69 66 69 65 64 20 69 | 6d 6d 65 64 69 61 74 65 |cified i|mmediate|
|00000900| 6c 79 0a 61 66 74 65 72 | 20 74 68 65 20 6f 70 65 |ly.after| the ope|
|00000910| 6e 20 62 72 61 63 6b 65 | 74 2c 20 62 65 66 6f 72 |n bracke|t, befor|
|00000920| 65 20 74 68 65 20 61 72 | 72 61 79 20 74 79 70 65 |e the ar|ray type|
|00000930| 2e 20 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. For e|xample, |
|00000940| 61 6e 20 61 72 72 61 79 | 0a 6f 66 20 31 32 20 70 |an array|.of 12 p|
|00000950| 6f 69 6e 74 65 72 73 20 | 74 6f 20 66 6c 6f 61 74 |ointers |to float|
|00000960| 73 20 77 6f 75 6c 64 20 | 62 65 20 65 6e 63 6f 64 |s would |be encod|
|00000970| 65 64 20 61 73 3a 0a 0a | 3c 50 3e 0a 3c 50 52 45 |ed as:..|<P>.<PRE|
|00000980| 3e 0a 5b 31 32 5e 66 5d | 0a 3c 2f 50 52 45 3e 0a |>.[12^f]|.</PRE>.|
|00000990| 0a 3c 50 3e 0a 53 74 72 | 75 63 74 75 72 65 73 20 |.<P>.Str|uctures |
|000009a0| 61 72 65 20 73 70 65 63 | 69 66 69 65 64 20 77 69 |are spec|ified wi|
|000009b0| 74 68 69 6e 20 62 72 61 | 63 65 73 2c 20 61 6e 64 |thin bra|ces, and|
|000009c0| 20 75 6e 69 6f 6e 73 20 | 77 69 74 68 69 6e 20 70 | unions |within p|
|000009d0| 61 72 65 6e 74 68 65 73 | 65 73 2e 0a 54 68 65 20 |arenthes|es..The |
|000009e0| 73 74 72 75 63 74 75 72 | 65 20 74 61 67 20 69 73 |structur|e tag is|
|000009f0| 20 6c 69 73 74 65 64 20 | 66 69 72 73 74 2c 20 66 | listed |first, f|
|00000a00| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 61 6e 20 65 71 |ollowed |by an eq|
|00000a10| 75 61 6c 20 73 69 67 6e | 20 61 6e 64 20 74 68 65 |ual sign| and the|
|00000a20| 0a 63 6f 64 65 73 20 66 | 6f 72 20 74 68 65 20 66 |.codes f|or the f|
|00000a30| 69 65 6c 64 73 20 6f 66 | 20 74 68 65 20 73 74 72 |ields of| the str|
|00000a40| 75 63 74 75 72 65 20 6c | 69 73 74 65 64 20 69 6e |ucture l|isted in|
|00000a50| 20 73 65 71 75 65 6e 63 | 65 2e 20 20 46 6f 72 0a | sequenc|e. For.|
|00000a60| 65 78 61 6d 70 6c 65 2c | 20 74 68 69 73 20 73 74 |example,| this st|
|00000a70| 72 75 63 74 75 72 65 2c | 0a 0a 3c 50 3e 0a 3c 50 |ructure,|..<P>.<P|
|00000a80| 52 45 3e 0a 74 79 70 65 | 64 65 66 20 73 74 72 75 |RE>.type|def stru|
|00000a90| 63 74 20 65 78 61 6d 70 | 6c 65 0a 7b 0a 20 20 69 |ct examp|le.{. i|
|00000aa0| 64 20 61 6e 4f 62 6a 65 | 63 74 3b 0a 20 20 63 68 |d anObje|ct;. ch|
|00000ab0| 61 72 20 2a 61 53 74 72 | 69 6e 67 3b 0a 20 20 69 |ar *aStr|ing;. i|
|00000ac0| 6e 74 20 61 6e 49 6e 74 | 3b 0a 7d 20 45 78 61 6d |nt anInt|;.} Exam|
|00000ad0| 70 6c 65 3b 0a 3c 2f 50 | 52 45 3e 0a 0a 3c 50 3e |ple;.</P|RE>..<P>|
|00000ae0| 0a 77 6f 75 6c 64 20 62 | 65 20 65 6e 63 6f 64 65 |.would b|e encode|
|00000af0| 64 20 6c 69 6b 65 20 74 | 68 69 73 3a 0a 0a 3c 50 |d like t|his:..<P|
|00000b00| 3e 0a 3c 50 52 45 3e 0a | 7b 65 78 61 6d 70 6c 65 |>.<PRE>.|{example|
|00000b10| 3d 40 2a 69 7d 0a 3c 2f | 50 52 45 3e 0a 0a 3c 50 |=@*i}.</|PRE>..<P|
|00000b20| 3e 0a 54 68 65 20 73 61 | 6d 65 20 65 6e 63 6f 64 |>.The sa|me encod|
|00000b30| 69 6e 67 20 72 65 73 75 | 6c 74 73 20 77 68 65 74 |ing resu|lts whet|
|00000b40| 68 65 72 20 74 68 65 20 | 64 65 66 69 6e 65 64 20 |her the |defined |
|00000b50| 74 79 70 65 20 6e 61 6d | 65 20 28 45 78 61 6d 70 |type nam|e (Examp|
|00000b60| 6c 65 29 20 6f 72 0a 74 | 68 65 20 73 74 72 75 63 |le) or.t|he struc|
|00000b70| 74 75 72 65 20 74 61 67 | 20 28 65 78 61 6d 70 6c |ture tag| (exampl|
|00000b80| 65 29 20 69 73 20 70 61 | 73 73 65 64 20 74 6f 20 |e) is pa|ssed to |
|00000b90| 40 65 6e 63 6f 64 65 28 | 29 2e 20 20 54 68 65 20 |@encode(|). The |
|00000ba0| 65 6e 63 6f 64 69 6e 67 | 20 66 6f 72 0a 61 20 73 |encoding| for.a s|
|00000bb0| 74 72 75 63 74 75 72 65 | 20 70 6f 69 6e 74 65 72 |tructure| pointer|
|00000bc0| 20 63 61 72 72 69 65 73 | 20 74 68 65 20 73 61 6d | carries| the sam|
|00000bd0| 65 20 61 6d 6f 75 6e 74 | 20 6f 66 20 69 6e 66 6f |e amount| of info|
|00000be0| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 74 68 |rmation |about th|
|00000bf0| 65 0a 73 74 72 75 63 74 | 75 72 65 27 73 20 66 69 |e.struct|ure's fi|
|00000c00| 65 6c 64 73 3a 0a 0a 3c | 50 3e 0a 3c 50 52 45 3e |elds:..<|P>.<PRE>|
|00000c10| 0a 5e 7b 65 78 61 6d 70 | 6c 65 3d 40 2a 69 7d 0a |.^{examp|le=@*i}.|
|00000c20| 3c 2f 50 52 45 3e 0a 0a | 3c 50 3e 0a 48 6f 77 65 |</PRE>..|<P>.Howe|
|00000c30| 76 65 72 2c 20 61 6e 6f | 74 68 65 72 20 6c 65 76 |ver, ano|ther lev|
|00000c40| 65 6c 20 6f 66 20 69 6e | 64 69 72 65 63 74 69 6f |el of in|directio|
|00000c50| 6e 20 72 65 6d 6f 76 65 | 73 20 74 68 65 20 69 6e |n remove|s the in|
|00000c60| 74 65 72 6e 61 6c 20 74 | 79 70 65 0a 73 70 65 63 |ternal t|ype.spec|
|00000c70| 69 66 69 63 61 74 69 6f | 6e 3a 0a 0a 3c 50 3e 0a |ificatio|n:..<P>.|
|00000c80| 3c 50 52 45 3e 0a 5e 5e | 7b 65 78 61 6d 70 6c 65 |<PRE>.^^|{example|
|00000c90| 7d 0a 3c 2f 50 52 45 3e | 0a 0a 3c 50 3e 0a 49 6e |}.</PRE>|..<P>.In|
|00000ca0| 74 65 72 6e 61 6c 6c 79 | 2c 20 74 68 65 20 6d 6f |ternally|, the mo|
|00000cb0| 64 75 6c 65 20 75 73 65 | 73 20 74 77 6f 20 66 75 |dule use|s two fu|
|00000cc0| 6e 63 74 69 6f 6e 73 2c | 20 70 79 74 68 6f 6e 69 |nctions,| pythoni|
|00000cd0| 66 79 5f 63 5f 76 61 6c | 75 65 28 29 0a 61 6e 64 |fy_c_val|ue().and|
|00000ce0| 20 64 65 70 79 74 68 6f | 6e 69 66 79 5f 63 5f 76 | depytho|nify_c_v|
|00000cf0| 61 6c 75 65 28 29 20 74 | 6f 20 74 72 61 6e 73 6c |alue() t|o transl|
|00000d00| 61 74 65 20 61 20 43 20 | 76 61 6c 75 65 20 69 6e |ate a C |value in|
|00000d10| 74 6f 20 74 68 65 0a 63 | 6f 72 72 65 73 70 6f 6e |to the.c|orrespon|
|00000d20| 64 69 6e 67 20 50 79 74 | 68 6f 6e 20 6f 62 6a 65 |ding Pyt|hon obje|
|00000d30| 63 74 20 61 6e 64 20 76 | 69 63 65 76 65 72 73 61 |ct and v|iceversa|
|00000d40| 2e 20 45 76 65 6e 74 75 | 61 6c 6c 79 2c 20 69 6e |. Eventu|ally, in|
|00000d50| 20 74 68 65 20 66 75 74 | 75 72 65 2c 0a 74 68 65 | the fut|ure,.the|
|00000d60| 73 65 20 66 75 6e 63 74 | 69 6f 6e 73 20 77 69 6c |se funct|ions wil|
|00000d70| 6c 20 62 65 20 6d 6f 76 | 65 64 20 69 6e 74 6f 20 |l be mov|ed into |
|00000d80| 61 6e 20 69 6e 64 69 70 | 65 6e 64 65 6e 74 20 6d |an indip|endent m|
|00000d90| 6f 64 75 6c 65 2c 20 73 | 6f 20 74 68 61 74 20 74 |odule, s|o that t|
|00000da0| 68 65 79 0a 6d 61 79 20 | 72 65 70 6c 61 63 65 20 |hey.may |replace |
|00000db0| 74 68 65 20 73 74 72 75 | 63 74 20 6d 6f 64 75 6c |the stru|ct modul|
|00000dc0| 65 27 73 20 66 75 6e 63 | 74 69 6f 6e 61 6c 69 74 |e's func|tionalit|
|00000dd0| 69 65 73 2e 0a 0a 3c 50 | 3e 0a 0a 3c 48 52 3e 0a |ies...<P|>..<HR>.|
|00000de0| 0a 3c 2f 42 4f 44 59 3e | 0a 3c 2f 48 54 4d 4c 3e |.</BODY>|.</HTML>|
|00000df0| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+