Skip to content

Commit c34086a

Browse files
committed
Fix typo
Signed-off-by: Darby Johnston <[email protected]>
1 parent 0c4ff16 commit c34086a

File tree

2 files changed

+42
-42
lines changed

2 files changed

+42
-42
lines changed

src/opentime/export.h

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,38 @@
77
// https://github.com/PixarAnimationStudios/OpenUSD/blob/dev/pxr/base/arch/export.h
88
#if defined(_WINDOWS)
99
# if defined(__GNUC__) && __GNUC__ >= 4 || defined(__clang__)
10-
# define OPENTIMELINIO_EXPORT __attribute__((dllexport))
11-
# define OPENTIMELINIO_IMPORT __attribute__((dllimport))
12-
# define OPENTIMELINIO_HIDDEN
13-
# define OPENTIMELINIO_EXPORT_TYPE
14-
# define OPENTIMELINIO_IMPORT_TYPE
10+
# define OPENTIMELINEIO_EXPORT __attribute__((dllexport))
11+
# define OPENTIMELINEIO_IMPORT __attribute__((dllimport))
12+
# define OPENTIMELINEIO_HIDDEN
13+
# define OPENTIMELINEIO_EXPORT_TYPE
14+
# define OPENTIMELINEIO_IMPORT_TYPE
1515
# else
16-
# define OPENTIMELINIO_EXPORT __declspec(dllexport)
17-
# define OPENTIMELINIO_IMPORT __declspec(dllimport)
18-
# define OPENTIMELINIO_HIDDEN
19-
# define OPENTIMELINIO_EXPORT_TYPE
20-
# define OPENTIMELINIO_IMPORT_TYPE
16+
# define OPENTIMELINEIO_EXPORT __declspec(dllexport)
17+
# define OPENTIMELINEIO_IMPORT __declspec(dllimport)
18+
# define OPENTIMELINEIO_HIDDEN
19+
# define OPENTIMELINEIO_EXPORT_TYPE
20+
# define OPENTIMELINEIO_IMPORT_TYPE
2121
# endif
2222
#elif defined(__GNUC__) && __GNUC__ >= 4 || defined(__clang__)
23-
# define OPENTIMELINIO_EXPORT __attribute__((visibility("default")))
24-
# define OPENTIMELINIO_IMPORT
25-
# define OPENTIMELINIO_HIDDEN __attribute__((visibility("hidden")))
23+
# define OPENTIMELINEIO_EXPORT __attribute__((visibility("default")))
24+
# define OPENTIMELINEIO_IMPORT
25+
# define OPENTIMELINEIO_HIDDEN __attribute__((visibility("hidden")))
2626
# if defined(__clang__)
27-
# define OPENTIMELINIO_EXPORT_TYPE __attribute__((type_visibility("default")))
27+
# define OPENTIMELINEIO_EXPORT_TYPE __attribute__((type_visibility("default")))
2828
# else
29-
# define OPENTIMELINIO_EXPORT_TYPE __attribute__((visibility("default")))
29+
# define OPENTIMELINEIO_EXPORT_TYPE __attribute__((visibility("default")))
3030
# endif
31-
# define OPENTIMELINIO_IMPORT_TYPE
31+
# define OPENTIMELINEIO_IMPORT_TYPE
3232
#else
33-
# define OPENTIMELINIO_EXPORT
34-
# define OPENTIMELINIO_IMPORT
35-
# define OPENTIMELINIO_HIDDEN
36-
# define OPENTIMELINIO_EXPORT_TYPE
37-
# define OPENTIMELINIO_IMPORT_TYPE
33+
# define OPENTIMELINEIO_EXPORT
34+
# define OPENTIMELINEIO_IMPORT
35+
# define OPENTIMELINEIO_HIDDEN
36+
# define OPENTIMELINEIO_EXPORT_TYPE
37+
# define OPENTIMELINEIO_IMPORT_TYPE
3838
#endif
39-
#define OPENTIMELINIO_EXPORT_TEMPLATE(type, ...)
40-
#define OPENTIMELINIO_IMPORT_TEMPLATE(type, ...) \
41-
extern template type OPENTIMELINIO_IMPORT __VA_ARGS__
39+
#define OPENTIMELINEIO_EXPORT_TEMPLATE(type, ...)
40+
#define OPENTIMELINEIO_IMPORT_TEMPLATE(type, ...) \
41+
extern template type OPENTIMELINEIO_IMPORT __VA_ARGS__
4242

4343
#if defined(OPENTIME_STATIC)
4444
# define OPENTIME_API
@@ -48,19 +48,19 @@
4848
# define OPENTIME_LOCAL
4949
#else
5050
# if defined(OPENTIME_EXPORTS)
51-
# define OPENTIME_API OPENTIMELINIO_EXPORT
52-
# define OPENTIME_API_TYPE OPENTIMELINIO_EXPORT_TYPE
51+
# define OPENTIME_API OPENTIMELINEIO_EXPORT
52+
# define OPENTIME_API_TYPE OPENTIMELINEIO_EXPORT_TYPE
5353
# define OPENTIME_API_TEMPLATE_CLASS(...) \
54-
OPENTIMELINIO_EXPORT_TEMPLATE(class, __VA_ARGS__)
54+
OPENTIMELINEIO_EXPORT_TEMPLATE(class, __VA_ARGS__)
5555
# define OPENTIME_API_TEMPLATE_STRUCT(...) \
56-
OPENTIMELINIO_EXPORT_TEMPLATE(struct, __VA_ARGS__)
56+
OPENTIMELINEIO_EXPORT_TEMPLATE(struct, __VA_ARGS__)
5757
# else
58-
# define OPENTIME_API OPENTIMELINIO_IMPORT
59-
# define OPENTIME_API_TYPE OPENTIMELINIO_IMPORT_TYPE
58+
# define OPENTIME_API OPENTIMELINEIO_IMPORT
59+
# define OPENTIME_API_TYPE OPENTIMELINEIO_IMPORT_TYPE
6060
# define OPENTIME_API_TEMPLATE_CLASS(...) \
61-
OPENTIMELINIO_IMPORT_TEMPLATE(class, __VA_ARGS__)
61+
OPENTIMELINEIO_IMPORT_TEMPLATE(class, __VA_ARGS__)
6262
# define OPENTIME_API_TEMPLATE_STRUCT(...) \
63-
OPENTIMELINIO_IMPORT_TEMPLATE(struct, __VA_ARGS__)
63+
OPENTIMELINEIO_IMPORT_TEMPLATE(struct, __VA_ARGS__)
6464
# endif
65-
# define OPENTIME_LOCAL OPENTIMELINIO_HIDDEN
65+
# define OPENTIME_LOCAL OPENTIMELINEIO_HIDDEN
6666
#endif

src/opentimelineio/export.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
# define OTIO_LOCAL
1414
#else
1515
# if defined(OTIO_EXPORTS)
16-
# define OTIO_API OPENTIMELINIO_EXPORT
17-
# define OTIO_API_TYPE OPENTIMELINIO_EXPORT_TYPE
16+
# define OTIO_API OPENTIMELINEIO_EXPORT
17+
# define OTIO_API_TYPE OPENTIMELINEIO_EXPORT_TYPE
1818
# define OTIO_API_TEMPLATE_CLASS(...) \
19-
OPENTIMELINIO_EXPORT_TEMPLATE(class, __VA_ARGS__)
19+
OPENTIMELINEIO_EXPORT_TEMPLATE(class, __VA_ARGS__)
2020
# define OTIO_API_TEMPLATE_STRUCT(...) \
21-
OPENTIMELINIO_EXPORT_TEMPLATE(struct, __VA_ARGS__)
21+
OPENTIMELINEIO_EXPORT_TEMPLATE(struct, __VA_ARGS__)
2222
# else
23-
# define OTIO_API OPENTIMELINIO_IMPORT
24-
# define OTIO_API_TYPE OPENTIMELINIO_IMPORT_TYPE
23+
# define OTIO_API OPENTIMELINEIO_IMPORT
24+
# define OTIO_API_TYPE OPENTIMELINEIO_IMPORT_TYPE
2525
# define OTIO_API_TEMPLATE_CLASS(...) \
26-
OPENTIMELINIO_IMPORT_TEMPLATE(class, __VA_ARGS__)
26+
OPENTIMELINEIO_IMPORT_TEMPLATE(class, __VA_ARGS__)
2727
# define OTIO_API_TEMPLATE_STRUCT(...) \
28-
OPENTIMELINIO_IMPORT_TEMPLATE(struct, __VA_ARGS__)
28+
OPENTIMELINEIO_IMPORT_TEMPLATE(struct, __VA_ARGS__)
2929
# endif
30-
# define OTIO_LOCAL OPENTIMELINIO_HIDDEN
30+
# define OTIO_LOCAL OPENTIMELINEIO_HIDDEN
3131
#endif

0 commit comments

Comments
 (0)