Re: JavaXPCOM: How to handle unsigned 8-bit values?
Michal Ceresna <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.oji |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday 25 April 2007, Javier Pedemonte wrote: > Yes, for example, nsIMarkupDocumentViewer.idl has several 'octet' > attributes, which would now be represented as Java 'short'. imho, doing octet->short and PRUint8->short is fine $ grep 'attribute[ ]*octet' * | grep -v '[ \t]*\(#\|\*\|//\)' nsIMarkupDocumentViewer.idl: attribute octet bidiTextDirection; nsIMarkupDocumentViewer.idl: attribute octet bidiTextType; nsIMarkupDocumentViewer.idl: attribute octet bidiControlsTextMode; nsIMarkupDocumentViewer.idl: attribute octet bidiNumeral; nsIMarkupDocumentViewer.idl: attribute octet bidiSupport; nsIMarkupDocumentViewer.idl: attribute octet bidiCharacterSet; $ grep 'attribute[ ]*PRUint8' * | grep -v '[ \t]*\(#\|\*\|//\)' nsIAccessible.idl: readonly attribute PRUint8 numActions; nsIScriptableInterfaceInfo.idl: readonly attribute PRUint8 paramCount; nsISupportsPrimitives.idl: attribute PRUint8 data;