Move StateInfo to the private namespace

This commit is contained in:
Olivier Goffart 2021-06-28 11:18:58 +02:00
parent daff9e8e65
commit 16ba23ae47
4 changed files with 16 additions and 19 deletions

View file

@ -11,20 +11,16 @@ LICENSE END */
#include <string_view>
#include <memory>
namespace sixtyfps {
namespace cbindgen_private {
namespace sixtyfps::cbindgen_private {
struct PropertyAnimation;
}
}
#include "sixtyfps_properties_internal.h"
namespace sixtyfps {
namespace sixtyfps::private_api {
using cbindgen_private::StateInfo;
namespace private_api {
inline void sixtyfps_property_set_animated_binding_helper(
const cbindgen_private::PropertyHandleOpaque *handle, void (*binding)(void *, int32_t *),
void *user_data, void (*drop_user_data)(void *),
@ -301,6 +297,4 @@ private:
cbindgen_private::PropertyTrackerOpaque inner;
};
} // namespace private_api
} // namespace sixtyfps
} // namespace sixtyfps::private_api