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 50 79 4f 62 6a | 43 2e 63 73 73 22 3e 0a |libPyObj|C.css">.|
|000001b0| 0a 3c 4c 49 4e 4b 20 52 | 45 4c 3d 22 70 72 65 76 |.<LINK R|EL="prev|
|000001c0| 69 6f 75 73 22 20 48 52 | 45 46 3d 22 6e 6f 64 65 |ious" HR|EF="node|
|000001d0| 36 5f 6d 6e 2e 68 74 6d | 6c 22 3e 0a 3c 4c 49 4e |6_mn.htm|l">.<LIN|
|000001e0| 4b 20 52 45 4c 3d 22 75 | 70 22 20 48 52 45 46 3d |K REL="u|p" HREF=|
|000001f0| 22 6e 6f 64 65 32 5f 6d | 6e 2e 68 74 6d 6c 22 3e |"node2_m|n.html">|
|00000200| 0a 3c 4c 49 4e 4b 20 52 | 45 4c 3d 22 6e 65 78 74 |.<LINK R|EL="next|
|00000210| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 38 5f 6d 6e |" HREF="|node8_mn|
|00000220| 2e 68 74 6d 6c 22 3e 0a | 3c 2f 48 45 41 44 3e 0a |.html">.|</HEAD>.|
|00000230| 20 0a 3c 42 4f 44 59 20 | 62 67 63 6f 6c 6f 72 3d | .<BODY |bgcolor=|
|00000240| 22 23 66 66 66 66 66 66 | 22 20 74 65 78 74 3d 22 |"#ffffff|" text="|
|00000250| 23 30 30 30 30 30 30 22 | 20 6c 69 6e 6b 3d 22 23 |#000000"| link="#|
|00000260| 39 39 34 34 45 45 22 20 | 76 6c 69 6e 6b 3d 22 23 |9944EE" |vlink="#|
|00000270| 30 30 30 30 66 66 22 20 | 61 6c 69 6e 6b 3d 22 23 |0000ff" |alink="#|
|00000280| 30 30 66 66 30 30 22 3e | 0a 0a 3c 48 32 3e 3c 41 |00ff00">|..<H2><A|
|00000290| 20 49 44 3d 22 53 45 43 | 54 49 4f 4e 30 30 31 31 | ID="SEC|TION0011|
|000002a0| 35 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |50000000|00000000|
|000002b0| 22 3e 0a 4f 62 6a 65 63 | 74 69 76 65 2d 43 20 65 |">.Objec|tive-C e|
|000002c0| 6e 63 6f 64 69 6e 67 3c | 2f 41 3e 0a 3c 2f 48 32 |ncoding<|/A>.</H2|
|000002d0| 3e 0a 0a 3c 50 3e 0a 54 | 68 65 20 4f 62 6a 65 63 |>..<P>.T|he Objec|
|000002e0| 74 69 76 65 2d 43 20 6c | 61 6e 67 75 61 67 65 20 |tive-C l|anguage |
|000002f0| 68 61 73 20 61 20 63 6f | 6d 70 69 6c 65 72 20 64 |has a co|mpiler d|
|00000300| 69 72 65 63 74 69 76 65 | 2c 20 40 65 6e 63 6f 64 |irective|, @encod|
|00000310| 65 2c 20 74 68 61 74 0a | 77 68 65 6e 20 67 69 76 |e, that.|when giv|
|00000320| 65 6e 20 61 20 74 79 70 | 65 20 73 70 65 63 69 66 |en a typ|e specif|
|00000330| 69 63 61 74 69 6f 6e 20 | 72 65 74 75 72 6e 73 20 |ication |returns |
|00000340| 61 20 73 74 72 69 6e 67 | 20 65 6e 63 6f 64 69 6e |a string| encodin|
|00000350| 67 20 74 68 61 74 20 74 | 79 70 65 2e 0a 54 68 65 |g that t|ype..The|
|00000360| 20 74 79 70 65 20 63 61 | 6e 20 62 65 20 61 20 62 | type ca|n be a b|
|00000370| 61 73 69 63 20 74 79 70 | 65 20 73 75 63 68 20 61 |asic typ|e such a|
|00000380| 73 20 61 6e 20 69 6e 74 | 2c 20 61 20 70 6f 69 6e |s an int|, a poin|
|00000390| 74 65 72 2c 20 61 20 74 | 61 67 67 65 64 0a 73 74 |ter, a t|agged.st|
|000003a0| 72 75 63 74 75 72 65 20 | 6f 72 20 75 6e 69 6f 6e |ructure |or union|
|000003b0| 2c 20 6f 72 20 61 20 63 | 6c 61 73 73 20 6e 61 6d |, or a c|lass nam|
|000003c0| 65 20 26 6e 64 61 73 68 | 3b 20 61 6e 79 74 68 69 |e &ndash|; anythi|
|000003d0| 6e 67 2c 20 69 6e 20 66 | 61 63 74 2c 20 74 68 61 |ng, in f|act, tha|
|000003e0| 74 20 63 61 6e 20 62 65 | 0a 75 73 65 64 20 61 73 |t can be|.used as|
|000003f0| 20 61 6e 20 61 72 67 75 | 6d 65 6e 74 20 74 6f 20 | an argu|ment to |
|00000400| 74 68 65 20 43 20 73 69 | 7a 65 6f 66 28 29 20 6f |the C si|zeof() o|
|00000410| 70 65 72 61 74 6f 72 2e | 0a 0a 3c 50 3e 0a 46 6f |perator.|..<P>.Fo|
|00000420| 72 20 65 78 61 6d 70 6c | 65 3a 0a 3c 50 52 45 3e |r exampl|e:.<PRE>|
|00000430| 0a 63 68 61 72 20 2a 65 | 31 20 3d 20 40 65 6e 63 |.char *e|1 = @enc|
|00000440| 6f 64 65 28 69 6e 74 20 | 2a 2a 29 3b 0a 09 3d 26 |ode(int |**);..=&|
|00000450| 67 74 3b 20 5e 5e 69 0a | 63 68 61 72 20 2a 65 32 |gt; ^^i.|char *e2|
|00000460| 20 3d 20 40 65 6e 63 6f | 64 65 28 66 6c 6f 61 74 | = @enco|de(float|
|00000470| 5b 31 32 5d 29 3b 0a 09 | 3d 26 67 74 3b 20 5b 31 |[12]);..|=> [1|
|00000480| 32 66 5d 0a 63 68 61 72 | 20 2a 65 33 20 3d 20 40 |2f].char| *e3 = @|
|00000490| 65 6e 63 6f 64 65 28 50 | 79 53 74 72 69 6e 67 4f |encode(P|yStringO|
|000004a0| 62 6a 65 63 74 20 2a 29 | 3b 0a 09 3d 26 67 74 3b |bject *)|;..=>|
|000004b0| 20 5e 7b 3f 3d 69 5e 7b | 5f 74 79 70 65 6f 62 6a | ^{?=i^{|_typeobj|
|000004c0| 65 63 74 7d 69 6c 5b 31 | 63 5d 7d 0a 3c 2f 50 52 |ect}il[1|c]}.</PR|
|000004d0| 45 3e 0a 0a 3c 50 3e 0a | 54 68 65 20 4f 62 6a 43 |E>..<P>.|The ObjC|
|000004e0| 20 6d 6f 64 75 6c 65 20 | 74 72 69 65 73 20 74 6f | module |tries to|
|000004f0| 20 68 69 64 65 20 61 73 | 20 6d 75 63 68 20 61 73 | hide as| much as|
|00000500| 20 70 6f 73 73 69 62 6c | 65 20 74 68 65 73 65 20 | possibl|e these |
|00000510| 64 65 74 61 69 6c 73 2c | 20 62 75 74 0a 6e 65 76 |details,| but.nev|
|00000520| 65 72 74 68 65 6c 65 73 | 73 20 79 6f 75 20 6d 61 |ertheles|s you ma|
|00000530| 79 20 66 69 6e 64 20 75 | 73 65 66 75 6c 6c 20 74 |y find u|sefull t|
|00000540| 6f 20 75 6e 64 65 72 73 | 74 61 6e 64 20 74 68 65 |o unders|tand the|
|00000550| 20 6d 65 63 68 61 6e 69 | 73 6d 3a 20 77 68 65 6e | mechani|sm: when|
|00000560| 0a 79 6f 75 20 70 61 73 | 73 20 61 20 77 72 6f 6e |.you pas|s a wron|
|00000570| 67 20 61 72 67 75 6d 65 | 6e 74 20 74 6f 20 61 6e |g argume|nt to an|
|00000580| 20 4f 62 6a 43 20 6d 65 | 73 73 61 67 65 2c 20 74 | ObjC me|ssage, t|
|00000590| 68 65 20 65 78 63 65 70 | 74 69 6f 6e 20 72 61 69 |he excep|tion rai|
|000005a0| 73 65 64 0a 63 6f 6e 74 | 61 69 6e 73 20 74 68 65 |sed.cont|ains the|
|000005b0| 20 40 65 6e 63 6f 64 65 | 64 20 64 65 73 63 72 69 | @encode|d descri|
|000005c0| 70 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 65 78 70 |ption of| the exp|
|000005d0| 65 63 74 65 64 20 74 79 | 70 65 20 66 6f 72 20 74 |ected ty|pe for t|
|000005e0| 68 61 74 0a 61 72 67 75 | 6d 65 6e 74 2c 20 61 6e |hat.argu|ment, an|
|000005f0| 64 20 75 73 69 6e 67 20 | 74 68 65 20 69 6e 66 6f |d using |the info|
|00000600| 72 6d 61 74 69 6f 6e 20 | 62 65 6c 6f 77 20 79 6f |rmation |below yo|
|00000610| 75 20 73 68 6f 75 6c 64 | 20 62 65 20 61 62 6c 65 |u should| be able|
|00000620| 20 74 6f 0a 63 6f 72 72 | 65 63 74 6c 79 20 63 6f | to.corr|ectly co|
|00000630| 6e 73 74 72 75 63 74 20 | 74 68 65 20 6e 65 65 64 |nstruct |the need|
|00000640| 65 64 20 76 61 6c 75 65 | 2e 0a 0a 3c 50 3e 0a 54 |ed value|...<P>.T|
|00000650| 68 65 20 74 61 62 6c 65 | 20 62 65 6c 6f 77 20 6c |he table| below l|
|00000660| 69 73 74 73 20 74 68 65 | 20 63 68 61 72 61 63 74 |ists the| charact|
|00000670| 65 72 73 20 75 73 65 64 | 20 62 79 20 74 68 69 73 |ers used| by this|
|00000680| 20 6d 65 63 68 61 6e 69 | 73 6d 2c 20 77 69 74 68 | mechani|sm, with|
|00000690| 0a 74 68 65 69 72 20 6d | 65 61 6e 69 6e 67 73 2e |.their m|eanings.|
|000006a0| 20 54 68 65 20 74 68 69 | 72 64 20 63 6f 6c 75 6d | The thi|rd colum|
|000006b0| 6e 20 74 65 6c 6c 73 20 | 68 6f 77 20 74 68 65 20 |n tells |how the |
|000006c0| 70 61 72 74 69 63 75 6c | 61 72 20 69 74 65 6d 20 |particul|ar item |
|000006d0| 74 79 70 65 0a 6d 61 74 | 63 68 65 73 20 77 69 74 |type.mat|ches wit|
|000006e0| 68 20 74 68 65 20 50 79 | 74 68 6f 6e 20 6f 62 6a |h the Py|thon obj|
|000006f0| 65 63 74 73 2e 20 41 73 | 20 70 6f 69 6e 74 65 64 |ects. As| pointed|
|00000700| 20 6f 75 74 20 61 62 6f | 76 65 2c 20 79 6f 75 20 | out abo|ve, you |
|00000710| 63 61 6e 0a 69 6e 64 69 | 66 66 65 72 65 6e 74 6c |can.indi|fferentl|
|00000720| 79 20 70 61 73 73 20 61 | 6e 20 69 6e 74 65 67 65 |y pass a|n intege|
|00000730| 72 20 6f 72 20 61 20 73 | 74 72 69 6e 67 20 66 6f |r or a s|tring fo|
|00000740| 72 20 61 6e 20 61 72 67 | 75 6d 65 6e 74 20 6f 66 |r an arg|ument of|
|00000750| 20 74 79 70 65 0a 63 68 | 61 72 2c 20 62 75 74 20 | type.ch|ar, but |
|00000760| 74 68 65 20 6d 6f 64 75 | 6c 65 20 74 72 61 6e 73 |the modu|le trans|
|00000770| 6c 61 74 65 73 20 73 75 | 63 68 20 76 61 6c 75 65 |lates su|ch value|
|00000780| 73 20 74 6f 20 69 6e 74 | 65 67 65 72 73 20 77 68 |s to int|egers wh|
|00000790| 65 6e 0a 74 68 65 79 20 | 61 72 65 20 72 65 74 75 |en.they |are retu|
|000007a0| 72 6e 65 64 20 62 79 20 | 61 20 6d 65 74 68 6f 64 |rned by |a method|
|000007b0| 2e 0a 0a 3c 50 3e 0a 3c | 42 52 3e 0a 3c 49 4d 47 |...<P>.<|BR>.<IMG|
|000007c0| 0a 20 53 54 59 4c 45 3d | 22 68 65 69 67 68 74 3a |. STYLE=|"height:|
|000007d0| 20 33 31 34 2e 30 30 65 | 78 3b 20 22 20 53 52 43 | 314.00e|x; " SRC|
|000007e0| 3d 22 69 6d 67 32 34 2e | 70 6e 67 22 0a 20 41 4c |="img24.|png". AL|
|000007f0| 54 3d 22 5c 62 65 67 69 | 6e 7b 74 61 62 6c 65 69 |T="\begi|n{tablei|
|00000800| 69 69 7d 7b 5c 76 65 72 | 74 20 63 5c 76 65 72 74 |ii}{\ver|t c\vert|
|00000810| 20 6c 5c 76 65 72 74 20 | 63 5c 76 65 72 74 7d 7b | l\vert |c\vert}{|
|00000820| 63 6f 64 65 7d 7b 43 6f | 64 65 7d 7b 4d 65 61 6e |code}{Co|de}{Mean|
|00000830| 69 6e 67 7d 7b 50 79 74 | 68 6f 6e 20 45 71 75 69 |ing}{Pyt|hon Equi|
|00000840| 76 61 6c 2e 2e 2e 0a 2e | 2e 2e 41 20 70 6f 69 6e |val.....|..A poin|
|00000850| 74 65 72 20 74 6f 20 74 | 79 70 65 7d 7b 76 61 6c |ter to t|ype}{val|
|00000860| 75 65 20 66 6f 72 20 74 | 79 70 65 7d 0a 5c 6c 69 |ue for t|ype}.\li|
|00000870| 6e 65 69 69 69 7b 3f 7d | 7b 41 6e 20 75 6e 6b 6e |neiii{?}|{An unkn|
|00000880| 6f 77 6e 20 74 79 70 65 | 7d 7b 7d 0a 5c 65 6e 64 |own type|}{}.\end|
|00000890| 7b 74 61 62 6c 65 69 69 | 69 7d 22 3e 0a 3c 42 52 |{tableii|i}">.<BR|
|000008a0| 3e 0a 0a 3c 50 3e 0a 54 | 68 65 20 74 79 70 65 20 |>..<P>.T|he type |
|000008b0| 73 70 65 63 69 66 69 63 | 61 74 69 6f 6e 20 66 6f |specific|ation fo|
|000008c0| 72 20 61 6e 20 61 72 72 | 61 79 20 69 73 20 65 6e |r an arr|ay is en|
|000008d0| 63 6c 6f 73 65 64 20 77 | 69 74 68 69 6e 20 73 71 |closed w|ithin sq|
|000008e0| 75 61 72 65 0a 62 72 61 | 63 6b 65 74 73 3b 20 74 |uare.bra|ckets; t|
|000008f0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 65 6c 65 |he numbe|r of ele|
|00000900| 6d 65 6e 74 73 20 69 6e | 20 74 68 65 20 61 72 72 |ments in| the arr|
|00000910| 61 79 20 69 73 20 73 70 | 65 63 69 66 69 65 64 20 |ay is sp|ecified |
|00000920| 69 6d 6d 65 64 69 61 74 | 65 6c 79 0a 61 66 74 65 |immediat|ely.afte|
|00000930| 72 20 74 68 65 20 6f 70 | 65 6e 20 62 72 61 63 6b |r the op|en brack|
|00000940| 65 74 2c 20 62 65 66 6f | 72 65 20 74 68 65 20 61 |et, befo|re the a|
|00000950| 72 72 61 79 20 74 79 70 | 65 2e 20 20 46 6f 72 20 |rray typ|e. For |
|00000960| 65 78 61 6d 70 6c 65 2c | 20 61 6e 20 61 72 72 61 |example,| an arra|
|00000970| 79 0a 6f 66 20 31 32 20 | 70 6f 69 6e 74 65 72 73 |y.of 12 |pointers|
|00000980| 20 74 6f 20 66 6c 6f 61 | 74 73 20 77 6f 75 6c 64 | to floa|ts would|
|00000990| 20 62 65 20 65 6e 63 6f | 64 65 64 20 61 73 3a 0a | be enco|ded as:.|
|000009a0| 0a 3c 50 3e 0a 3c 50 52 | 45 3e 0a 5b 31 32 5e 66 |.<P>.<PR|E>.[12^f|
|000009b0| 5d 0a 3c 2f 50 52 45 3e | 0a 0a 3c 50 3e 0a 53 74 |].</PRE>|..<P>.St|
|000009c0| 72 75 63 74 75 72 65 73 | 20 61 72 65 20 73 70 65 |ructures| are spe|
|000009d0| 63 69 66 69 65 64 20 77 | 69 74 68 69 6e 20 62 72 |cified w|ithin br|
|000009e0| 61 63 65 73 2c 20 61 6e | 64 20 75 6e 69 6f 6e 73 |aces, an|d unions|
|000009f0| 20 77 69 74 68 69 6e 20 | 70 61 72 65 6e 74 68 65 | within |parenthe|
|00000a00| 73 65 73 2e 0a 54 68 65 | 20 73 74 72 75 63 74 75 |ses..The| structu|
|00000a10| 72 65 20 74 61 67 20 69 | 73 20 6c 69 73 74 65 64 |re tag i|s listed|
|00000a20| 20 66 69 72 73 74 2c 20 | 66 6f 6c 6c 6f 77 65 64 | first, |followed|
|00000a30| 20 62 79 20 61 6e 20 65 | 71 75 61 6c 20 73 69 67 | by an e|qual sig|
|00000a40| 6e 20 61 6e 64 20 74 68 | 65 0a 63 6f 64 65 73 20 |n and th|e.codes |
|00000a50| 66 6f 72 20 74 68 65 20 | 66 69 65 6c 64 73 20 6f |for the |fields o|
|00000a60| 66 20 74 68 65 20 73 74 | 72 75 63 74 75 72 65 20 |f the st|ructure |
|00000a70| 6c 69 73 74 65 64 20 69 | 6e 20 73 65 71 75 65 6e |listed i|n sequen|
|00000a80| 63 65 2e 20 20 46 6f 72 | 0a 65 78 61 6d 70 6c 65 |ce. For|.example|
|00000a90| 2c 20 74 68 69 73 20 73 | 74 72 75 63 74 75 72 65 |, this s|tructure|
|00000aa0| 2c 0a 0a 3c 50 3e 0a 3c | 50 52 45 3e 0a 74 79 70 |,..<P>.<|PRE>.typ|
|00000ab0| 65 64 65 66 20 73 74 72 | 75 63 74 20 65 78 61 6d |edef str|uct exam|
|00000ac0| 70 6c 65 0a 7b 0a 20 20 | 69 64 20 61 6e 4f 62 6a |ple.{. |id anObj|
|00000ad0| 65 63 74 3b 0a 20 20 63 | 68 61 72 20 2a 61 53 74 |ect;. c|har *aSt|
|00000ae0| 72 69 6e 67 3b 0a 20 20 | 69 6e 74 20 61 6e 49 6e |ring;. |int anIn|
|00000af0| 74 3b 0a 7d 20 45 78 61 | 6d 70 6c 65 3b 0a 3c 2f |t;.} Exa|mple;.</|
|00000b00| 50 52 45 3e 0a 0a 3c 50 | 3e 0a 77 6f 75 6c 64 20 |PRE>..<P|>.would |
|00000b10| 62 65 20 65 6e 63 6f 64 | 65 64 20 6c 69 6b 65 20 |be encod|ed like |
|00000b20| 74 68 69 73 3a 0a 0a 3c | 50 3e 0a 3c 50 52 45 3e |this:..<|P>.<PRE>|
|00000b30| 0a 7b 65 78 61 6d 70 6c | 65 3d 40 2a 69 7d 0a 3c |.{exampl|e=@*i}.<|
|00000b40| 2f 50 52 45 3e 0a 0a 3c | 50 3e 0a 54 68 65 20 73 |/PRE>..<|P>.The s|
|00000b50| 61 6d 65 20 65 6e 63 6f | 64 69 6e 67 20 72 65 73 |ame enco|ding res|
|00000b60| 75 6c 74 73 20 77 68 65 | 74 68 65 72 20 74 68 65 |ults whe|ther the|
|00000b70| 20 64 65 66 69 6e 65 64 | 20 74 79 70 65 20 6e 61 | defined| type na|
|00000b80| 6d 65 20 28 45 78 61 6d | 70 6c 65 29 20 6f 72 0a |me (Exam|ple) or.|
|00000b90| 74 68 65 20 73 74 72 75 | 63 74 75 72 65 20 74 61 |the stru|cture ta|
|00000ba0| 67 20 28 65 78 61 6d 70 | 6c 65 29 20 69 73 20 70 |g (examp|le) is p|
|00000bb0| 61 73 73 65 64 20 74 6f | 20 40 65 6e 63 6f 64 65 |assed to| @encode|
|00000bc0| 28 29 2e 20 20 54 68 65 | 20 65 6e 63 6f 64 69 6e |(). The| encodin|
|00000bd0| 67 20 66 6f 72 0a 61 20 | 73 74 72 75 63 74 75 72 |g for.a |structur|
|00000be0| 65 20 70 6f 69 6e 74 65 | 72 20 63 61 72 72 69 65 |e pointe|r carrie|
|00000bf0| 73 20 74 68 65 20 73 61 | 6d 65 20 61 6d 6f 75 6e |s the sa|me amoun|
|00000c00| 74 20 6f 66 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |t of inf|ormation|
|00000c10| 20 61 62 6f 75 74 20 74 | 68 65 0a 73 74 72 75 63 | about t|he.struc|
|00000c20| 74 75 72 65 27 73 20 66 | 69 65 6c 64 73 3a 0a 0a |ture's f|ields:..|
|00000c30| 3c 50 3e 0a 3c 50 52 45 | 3e 0a 5e 7b 65 78 61 6d |<P>.<PRE|>.^{exam|
|00000c40| 70 6c 65 3d 40 2a 69 7d | 0a 3c 2f 50 52 45 3e 0a |ple=@*i}|.</PRE>.|
|00000c50| 0a 3c 50 3e 0a 48 6f 77 | 65 76 65 72 2c 20 61 6e |.<P>.How|ever, an|
|00000c60| 6f 74 68 65 72 20 6c 65 | 76 65 6c 20 6f 66 20 69 |other le|vel of i|
|00000c70| 6e 64 69 72 65 63 74 69 | 6f 6e 20 72 65 6d 6f 76 |ndirecti|on remov|
|00000c80| 65 73 20 74 68 65 20 69 | 6e 74 65 72 6e 61 6c 20 |es the i|nternal |
|00000c90| 74 79 70 65 0a 73 70 65 | 63 69 66 69 63 61 74 69 |type.spe|cificati|
|00000ca0| 6f 6e 3a 0a 0a 3c 50 3e | 0a 3c 50 52 45 3e 0a 5e |on:..<P>|.<PRE>.^|
|00000cb0| 5e 7b 65 78 61 6d 70 6c | 65 7d 0a 3c 2f 50 52 45 |^{exampl|e}.</PRE|
|00000cc0| 3e 0a 0a 3c 50 3e 0a 49 | 6e 74 65 72 6e 61 6c 6c |>..<P>.I|nternall|
|00000cd0| 79 2c 20 74 68 65 20 6d | 6f 64 75 6c 65 20 75 73 |y, the m|odule us|
|00000ce0| 65 73 20 74 77 6f 20 66 | 75 6e 63 74 69 6f 6e 73 |es two f|unctions|
|00000cf0| 2c 20 70 79 74 68 6f 6e | 69 66 79 5f 63 5f 76 61 |, python|ify_c_va|
|00000d00| 6c 75 65 28 29 0a 61 6e | 64 20 64 65 70 79 74 68 |lue().an|d depyth|
|00000d10| 6f 6e 69 66 79 5f 63 5f | 76 61 6c 75 65 28 29 20 |onify_c_|value() |
|00000d20| 74 6f 20 74 72 61 6e 73 | 6c 61 74 65 20 61 20 43 |to trans|late a C|
|00000d30| 20 76 61 6c 75 65 20 69 | 6e 74 6f 20 74 68 65 0a | value i|nto the.|
|00000d40| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 50 79 |correspo|nding Py|
|00000d50| 74 68 6f 6e 20 6f 62 6a | 65 63 74 20 61 6e 64 20 |thon obj|ect and |
|00000d60| 76 69 63 65 76 65 72 73 | 61 2e 20 45 76 65 6e 74 |vicevers|a. Event|
|00000d70| 75 61 6c 6c 79 2c 20 69 | 6e 20 74 68 65 20 66 75 |ually, i|n the fu|
|00000d80| 74 75 72 65 2c 0a 74 68 | 65 73 65 20 66 75 6e 63 |ture,.th|ese func|
|00000d90| 74 69 6f 6e 73 20 77 69 | 6c 6c 20 62 65 20 6d 6f |tions wi|ll be mo|
|00000da0| 76 65 64 20 69 6e 74 6f | 20 61 6e 20 69 6e 64 69 |ved into| an indi|
|00000db0| 70 65 6e 64 65 6e 74 20 | 6d 6f 64 75 6c 65 2c 20 |pendent |module, |
|00000dc0| 73 6f 20 74 68 61 74 20 | 74 68 65 79 0a 6d 61 79 |so that |they.may|
|00000dd0| 20 72 65 70 6c 61 63 65 | 20 74 68 65 20 73 74 72 | replace| the str|
|00000de0| 75 63 74 20 6d 6f 64 75 | 6c 65 27 73 20 66 75 6e |uct modu|le's fun|
|00000df0| 63 74 69 6f 6e 61 6c 69 | 74 69 65 73 2e 0a 0a 3c |ctionali|ties...<|
|00000e00| 50 3e 0a 0a 3c 50 3e 0a | 0a 3c 48 52 3e 0a 0a 3c |P>..<P>.|.<HR>..<|
|00000e10| 2f 42 4f 44 59 3e 0a 3c | 2f 48 54 4d 4c 3e 0a |/BODY>.<|/HTML>. |
+--------+-------------------------+-------------------------+--------+--------+