fix the struct member column alignment (in the source code) after mass type renaming

This commit is contained in:
jband%netscape.com 1999-04-04 03:13:47 +00:00
Родитель 25cf140c82
Коммит 432690b3a0
4 изменённых файлов: 50 добавлений и 50 удалений

Просмотреть файл

@ -104,13 +104,13 @@ typedef struct nsID nsID;
* Every XPCOM typelib file begins with a header. * Every XPCOM typelib file begins with a header.
*/ */
struct XPTHeader { struct XPTHeader {
PRUint8 magic[16]; PRUint8 magic[16];
PRUint8 major_version; PRUint8 major_version;
PRUint8 minor_version; PRUint8 minor_version;
PRUint16 num_interfaces; PRUint16 num_interfaces;
PRUint32 file_length; PRUint32 file_length;
XPTInterfaceDirectoryEntry *interface_directory; XPTInterfaceDirectoryEntry *interface_directory;
PRUint32 data_pool; PRUint32 data_pool;
XPTAnnotation *annotations; XPTAnnotation *annotations;
}; };
@ -156,10 +156,10 @@ XPT_FillInterfaceDirectoryEntry(XPTInterfaceDirectoryEntry *ide,
* single XPCOM interface, including all of its methods. * single XPCOM interface, including all of its methods.
*/ */
struct XPTInterfaceDescriptor { struct XPTInterfaceDescriptor {
PRUint16 parent_interface; PRUint16 parent_interface;
PRUint16 num_methods; PRUint16 num_methods;
XPTMethodDescriptor *method_descriptors; XPTMethodDescriptor *method_descriptors;
PRUint16 num_constants; PRUint16 num_constants;
XPTConstDescriptor *const_descriptors; XPTConstDescriptor *const_descriptors;
}; };
@ -286,23 +286,23 @@ struct XPTTypeDescriptor {
* String record containing the constant string. * String record containing the constant string.
*/ */
union XPTConstValue { union XPTConstValue {
PRInt8 i8; PRInt8 i8;
PRUint8 ui8; PRUint8 ui8;
PRInt16 i16; PRInt16 i16;
PRUint16 ui16; PRUint16 ui16;
PRInt32 i32; PRInt32 i32;
PRUint32 ui32; PRUint32 ui32;
PRInt64 i64; PRInt64 i64;
PRUint64 ui64; PRUint64 ui64;
float flt; float flt;
double dbl; double dbl;
PRBool bul; PRBool bul;
char ch; char ch;
PRUint16 wch; PRUint16 wch;
nsID *iid; nsID *iid;
XPTString *string; XPTString *string;
char *str; char *str;
PRUint16 *wstr; PRUint16 *wstr;
}; /* varies according to type */ }; /* varies according to type */
struct XPTConstDescriptor { struct XPTConstDescriptor {

Просмотреть файл

@ -95,23 +95,23 @@ typedef enum {
struct XPTState { struct XPTState {
XPTMode mode; XPTMode mode;
PRUint32 data_offset; PRUint32 data_offset;
PRUint32 next_cursor[2]; PRUint32 next_cursor[2];
XPTDatapool *pool; XPTDatapool *pool;
}; };
struct XPTDatapool { struct XPTDatapool {
PLHashTable *offset_map; PLHashTable *offset_map;
char *data; char *data;
PRUint32 count; PRUint32 count;
PRUint32 allocated; PRUint32 allocated;
}; };
struct XPTCursor { struct XPTCursor {
XPTState *state; XPTState *state;
XPTPool pool; XPTPool pool;
PRUint32 offset; PRUint32 offset;
PRUint8 bits; PRUint8 bits;
}; };
extern XPT_PUBLIC_API(XPTState *) extern XPT_PUBLIC_API(XPTState *)

Просмотреть файл

@ -104,13 +104,13 @@ typedef struct nsID nsID;
* Every XPCOM typelib file begins with a header. * Every XPCOM typelib file begins with a header.
*/ */
struct XPTHeader { struct XPTHeader {
PRUint8 magic[16]; PRUint8 magic[16];
PRUint8 major_version; PRUint8 major_version;
PRUint8 minor_version; PRUint8 minor_version;
PRUint16 num_interfaces; PRUint16 num_interfaces;
PRUint32 file_length; PRUint32 file_length;
XPTInterfaceDirectoryEntry *interface_directory; XPTInterfaceDirectoryEntry *interface_directory;
PRUint32 data_pool; PRUint32 data_pool;
XPTAnnotation *annotations; XPTAnnotation *annotations;
}; };
@ -156,10 +156,10 @@ XPT_FillInterfaceDirectoryEntry(XPTInterfaceDirectoryEntry *ide,
* single XPCOM interface, including all of its methods. * single XPCOM interface, including all of its methods.
*/ */
struct XPTInterfaceDescriptor { struct XPTInterfaceDescriptor {
PRUint16 parent_interface; PRUint16 parent_interface;
PRUint16 num_methods; PRUint16 num_methods;
XPTMethodDescriptor *method_descriptors; XPTMethodDescriptor *method_descriptors;
PRUint16 num_constants; PRUint16 num_constants;
XPTConstDescriptor *const_descriptors; XPTConstDescriptor *const_descriptors;
}; };
@ -286,23 +286,23 @@ struct XPTTypeDescriptor {
* String record containing the constant string. * String record containing the constant string.
*/ */
union XPTConstValue { union XPTConstValue {
PRInt8 i8; PRInt8 i8;
PRUint8 ui8; PRUint8 ui8;
PRInt16 i16; PRInt16 i16;
PRUint16 ui16; PRUint16 ui16;
PRInt32 i32; PRInt32 i32;
PRUint32 ui32; PRUint32 ui32;
PRInt64 i64; PRInt64 i64;
PRUint64 ui64; PRUint64 ui64;
float flt; float flt;
double dbl; double dbl;
PRBool bul; PRBool bul;
char ch; char ch;
PRUint16 wch; PRUint16 wch;
nsID *iid; nsID *iid;
XPTString *string; XPTString *string;
char *str; char *str;
PRUint16 *wstr; PRUint16 *wstr;
}; /* varies according to type */ }; /* varies according to type */
struct XPTConstDescriptor { struct XPTConstDescriptor {

Просмотреть файл

@ -95,23 +95,23 @@ typedef enum {
struct XPTState { struct XPTState {
XPTMode mode; XPTMode mode;
PRUint32 data_offset; PRUint32 data_offset;
PRUint32 next_cursor[2]; PRUint32 next_cursor[2];
XPTDatapool *pool; XPTDatapool *pool;
}; };
struct XPTDatapool { struct XPTDatapool {
PLHashTable *offset_map; PLHashTable *offset_map;
char *data; char *data;
PRUint32 count; PRUint32 count;
PRUint32 allocated; PRUint32 allocated;
}; };
struct XPTCursor { struct XPTCursor {
XPTState *state; XPTState *state;
XPTPool pool; XPTPool pool;
PRUint32 offset; PRUint32 offset;
PRUint8 bits; PRUint8 bits;
}; };
extern XPT_PUBLIC_API(XPTState *) extern XPT_PUBLIC_API(XPTState *)