| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 2 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 3 * Copyright (C) 2007 Red Hat, Inc. | 3 * Copyright (C) 2007 Red Hat, Inc. |
| 4 * | 4 * |
| 5 * This is part of HarfBuzz, an OpenType Layout engine library. | 5 * This is part of HarfBuzz, an OpenType Layout engine library. |
| 6 * | 6 * |
| 7 * Permission is hereby granted, without written agreement and without | 7 * Permission is hereby granted, without written agreement and without |
| 8 * license or royalty fees, to use, copy, modify, and distribute this | 8 * license or royalty fees, to use, copy, modify, and distribute this |
| 9 * software and its documentation for any purpose, provided that the | 9 * software and its documentation for any purpose, provided that the |
| 10 * above copyright notice and the following two paragraphs appear in | 10 * above copyright notice and the following two paragraphs appear in |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include <string.h> | 32 #include <string.h> |
| 33 | 33 |
| 34 #ifdef __cplusplus | 34 #ifdef __cplusplus |
| 35 #define HB_BEGIN_HEADER extern "C" { | 35 #define HB_BEGIN_HEADER extern "C" { |
| 36 #define HB_END_HEADER } | 36 #define HB_END_HEADER } |
| 37 #else | 37 #else |
| 38 #define HB_BEGIN_HEADER /* nothing */ | 38 #define HB_BEGIN_HEADER /* nothing */ |
| 39 #define HB_END_HEADER /* nothing */ | 39 #define HB_END_HEADER /* nothing */ |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 #if defined(__GNUC__) || defined(_MSC_VER) |
| 43 #define HB_USE_PACKED_STRUCTS |
| 44 #endif |
| 45 |
| 42 HB_BEGIN_HEADER | 46 HB_BEGIN_HEADER |
| 43 | 47 |
| 44 #ifndef FALSE | 48 #ifndef FALSE |
| 45 #define FALSE 0 | 49 #define FALSE 0 |
| 46 #endif | 50 #endif |
| 47 | 51 |
| 48 #ifndef TRUE | 52 #ifndef TRUE |
| 49 #define TRUE (!FALSE) | 53 #define TRUE (!FALSE) |
| 50 #endif | 54 #endif |
| 51 | 55 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 HB_Fixed y; | 113 HB_Fixed y; |
| 110 } HB_FixedPoint; | 114 } HB_FixedPoint; |
| 111 | 115 |
| 112 typedef struct HB_Font_ *HB_Font; | 116 typedef struct HB_Font_ *HB_Font; |
| 113 typedef struct HB_StreamRec_ *HB_Stream; | 117 typedef struct HB_StreamRec_ *HB_Stream; |
| 114 typedef struct HB_FaceRec_ *HB_Face; | 118 typedef struct HB_FaceRec_ *HB_Face; |
| 115 | 119 |
| 116 HB_END_HEADER | 120 HB_END_HEADER |
| 117 | 121 |
| 118 #endif | 122 #endif |
| OLD | NEW |