Skip to content

Commit 455ebc0

Browse files
authored
Merge pull request #12 from goostengine/list
2 parents e297357 + 2c8b4e4 commit 455ebc0

File tree

11 files changed

+1557
-0
lines changed

11 files changed

+1557
-0
lines changed

core/SCsub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ if env["goost_math_enabled"]:
99
SConscript("math/SCsub", exports="env_goost")
1010

1111
env_goost.add_source_files(env.modules_sources, "*.cpp")
12+
env_goost.add_source_files(env.modules_sources, "types/*.cpp")

core/register_core_types.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
#include "register_core_types.h"
22

3+
#include "types/list.h"
34
#include "image/register_image_types.h"
45
#include "math/register_math_types.h"
56

67
namespace goost {
78

89
void register_core_types() {
10+
ClassDB::register_class<ListNode>();
11+
ClassDB::register_class<LinkedList>();
912
#ifdef GOOST_IMAGE_ENABLED
1013
register_image_types();
1114
#endif

0 commit comments

Comments
 (0)