| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef OTS_H_ | 5 #ifndef OTS_H_ |
| 6 #define OTS_H_ | 6 #define OTS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 8 #include <cstdarg> | 9 #include <cstdarg> |
| 9 #include <cstdio> | 10 #include <cstdio> |
| 10 #include <cstdlib> | 11 #include <cstdlib> |
| 11 #include <cstring> | 12 #include <cstring> |
| 12 | 13 |
| 13 #include "opentype-sanitiser.h" | 14 #include "opentype-sanitiser.h" |
| 14 | 15 |
| 15 namespace ots { | 16 namespace ots { |
| 16 | 17 |
| 17 #if defined(_MSC_VER) || !defined(OTS_DEBUG) | 18 #if defined(_MSC_VER) || !defined(OTS_DEBUG) |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 bool ots_##name##_should_serialise(OpenTypeFile *f); \ | 211 bool ots_##name##_should_serialise(OpenTypeFile *f); \ |
| 211 bool ots_##name##_serialise(OTSStream *s, OpenTypeFile *f); \ | 212 bool ots_##name##_serialise(OTSStream *s, OpenTypeFile *f); \ |
| 212 void ots_##name##_free(OpenTypeFile *f); | 213 void ots_##name##_free(OpenTypeFile *f); |
| 213 // TODO(yusukes): change these function names to follow Chromium coding rule. | 214 // TODO(yusukes): change these function names to follow Chromium coding rule. |
| 214 FOR_EACH_TABLE_TYPE | 215 FOR_EACH_TABLE_TYPE |
| 215 #undef F | 216 #undef F |
| 216 | 217 |
| 217 } // namespace ots | 218 } // namespace ots |
| 218 | 219 |
| 219 #endif // OTS_H_ | 220 #endif // OTS_H_ |
| OLD | NEW |