FUCK NEXT CLOUD 2
parent
ad1f4a3ee3
commit
0a2a351654
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.25)
|
||||
project(blt-gp VERSION 0.0.34)
|
||||
project(blt-gp VERSION 0.0.35)
|
||||
|
||||
include(CTest)
|
||||
|
||||
|
|
|
@ -32,15 +32,13 @@ namespace blt::gp
|
|||
|
||||
struct op_container_t
|
||||
{
|
||||
op_container_t(detail::callable_t& func, u16 depth, bool isStatic, u16 argc, u8 argcContext):
|
||||
func(func), depth(depth), is_static(isStatic), argc(argc), argc_context(argcContext)
|
||||
op_container_t(detail::callable_t& func, detail::transfer_t& transfer, bool is_value):
|
||||
func(func), transfer(transfer), is_value(is_value)
|
||||
{}
|
||||
|
||||
detail::callable_t& func;
|
||||
blt::u16 depth;
|
||||
bool is_static: 1;
|
||||
blt::u16 argc: 15;
|
||||
blt::u8 argc_context;
|
||||
detail::transfer_t& transfer;
|
||||
bool is_value;
|
||||
};
|
||||
|
||||
class evaluation_context
|
||||
|
@ -48,7 +46,7 @@ namespace blt::gp
|
|||
friend class tree_t;
|
||||
|
||||
private:
|
||||
explicit evaluation_context(stack_allocator values): values(std::move(values))
|
||||
explicit evaluation_context()
|
||||
{}
|
||||
|
||||
blt::gp::stack_allocator values;
|
||||
|
@ -108,7 +106,7 @@ namespace blt::gp
|
|||
}
|
||||
|
||||
/**
|
||||
* Helper template for returning the result of evalutation (this calls it)
|
||||
* Helper template for returning the result of evaluation (this calls it)
|
||||
*/
|
||||
template<typename T>
|
||||
T get_evaluation_value(void* context)
|
||||
|
|
2
lib/blt
2
lib/blt
|
@ -1 +1 @@
|
|||
Subproject commit 3426c5d2ad982eb7d04f20d877085e4aae4001a3
|
||||
Subproject commit cdb91d800781d2c2a8ad3b9a829ca6d52abaa6ea
|
Loading…
Reference in New Issue