Add missing export markers (OTIO_API) for constructors#1992
Add missing export markers (OTIO_API) for constructors#1992jlskuz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
Conversation
Signed-off-by: Julius Künzel <julius.kuenzel@kde.org>
9571621 to
19698db
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1992 +/- ##
=======================================
Coverage 85.13% 85.13%
=======================================
Files 181 181
Lines 12783 12783
Branches 1206 1206
=======================================
Hits 10883 10883
Misses 1717 1717
Partials 183 183
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
Hi @jlskuz, thanks for catching this, there definitely may have been places I missed adding the exports. I think the rule of thumb was all member functions that are not inline, but all of the details are here: Were you seeing errors about the |
|
No, I did not see an error about the |
|
I was wondering because it looks like the |
|
Oh, yes I confused at least one operator with a conatructor |
|
Maybe remove the exports from the |
This is a follow up to #1953
I am working on MSVC support for Kdenlive (currently MinGW is used for Windows) and hit
this brought to my attention that only some classes have
OTIO_APIon their constructors, while others, such asGeneratorReference, have not causing the above failure. As far as I understand all of these classes and ctors are public API however (please check and confirm) and hence should haveOTIO_API.@darbyjohnston Was #1953 just in complete or did you only add it to certain classes on purpose? This does probably not only affect the ctors, but also other class members. Should I add
OTIO_APIto all of them (either here or in a seperate PR)? Is it safe to assume that everything in thepublic:section ofsrc/opentimelineio/*.hfiles is public api and hence should haveOTIO_API?