finalise interface & documentation
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
c5157bd849
commit
52580a4382
56 changed files with 2074 additions and 780 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
/// \file blueprint_scope.h
|
||||
/// \author Folling <mail@folling.io>
|
||||
/// \author Folling <folling@ikarus.world>
|
||||
|
||||
#include <ikarus/id.h>
|
||||
#include <ikarus/macros.h>
|
||||
|
|
@ -12,14 +12,18 @@
|
|||
IKARUS_BEGIN_HEADER
|
||||
|
||||
/// \brief The global scope of all blueprints.
|
||||
struct IkarusBlueprintScope {
|
||||
/// \private \brief Empty structs aren't allowed in C, so we need a dummy field.
|
||||
short _dummy;
|
||||
};
|
||||
struct IkarusBlueprintScope;
|
||||
|
||||
/// \brief Creates a blueprint scope.
|
||||
/// \return The created blueprint scope.
|
||||
IKA_API IkarusBlueprintScope ikarus_blueprint_scope_create();
|
||||
/// \remark Must be freed with #ikarus_free.
|
||||
IKA_API IkarusBlueprintScope * ikarus_blueprint_scope_create();
|
||||
|
||||
/// \brief Converts a blueprint scope to an object scope.
|
||||
/// \param scope The scope to convert.
|
||||
/// \return The converted scope.
|
||||
/// \remark Must be freed with #ikarus_free.
|
||||
IKA_API struct IkarusObjectScope * ikarus_blueprint_scope_to_object_scope(IkarusBlueprintScope const * scope);
|
||||
|
||||
IKARUS_END_HEADER
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue