The only remaining code in source/blender that must be compiled as C is now datatoc generated code and the DNA defaults that use designated initializers. Pull Request: https://projects.blender.org/blender/blender/pulls/134469
26 lines
463 B
C
26 lines
463 B
C
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup collada
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstdlib>
|
|
|
|
#include "ExportSettings.h"
|
|
#include "ImportSettings.h"
|
|
|
|
#include "RNA_types.hh"
|
|
|
|
struct bContext;
|
|
|
|
/*
|
|
* both return 1 on success, 0 on error
|
|
*/
|
|
int collada_import(struct bContext *C, ImportSettings *import_settings);
|
|
|
|
int collada_export(struct bContext *C, ExportSettings *export_settings);
|