/*
 * Copyright 2010-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
 * that can be found in the LICENSE file.
 */

#pragma once

#include "Common.h"

#if KONAN_TYPE_INFO_HAS_WRITABLE_PART

#include "TypeInfo.h"
#include "TypeInfoObjCExportAddition.hpp"

namespace kotlin {

WritableTypeInfo* allocateWritableTypeInfo() noexcept;

#if KONAN_OBJC_INTEROP

// Writable part generated by ObjCExport and Swift Export
TypeInfoObjCExportAddition& objCExport(const TypeInfo* typeInfo) noexcept;

#endif

} // namespace kotlin

#endif
