mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
WIP, Functions are declared, still not called
This commit is contained in:
10
source/toy_function.c
Normal file
10
source/toy_function.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "toy_function.h"
|
||||
|
||||
Toy_Function* Toy_createModuleFunction(Toy_Bucket** bucketHandle, Toy_Module module) {
|
||||
Toy_Function* fn = (Toy_Function*)Toy_partitionBucket(bucketHandle, sizeof(Toy_Function));
|
||||
|
||||
fn->type = TOY_FUNCTION_MODULE;
|
||||
fn->module.module = module;
|
||||
|
||||
return fn;
|
||||
}
|
||||
Reference in New Issue
Block a user