mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-20 01:04:08 +10:00
Implemented native C functions called from Toy scripts
There's only example functions for now, but I'll add type-specific functions later.
This commit is contained in:
@@ -319,7 +319,7 @@ bool Toy_checkValuesAreEqual(Toy_Value left, Toy_Value right) {
|
||||
return left.as.function->bytecode.code == right.as.function->bytecode.code;
|
||||
}
|
||||
else {
|
||||
return left.as.function->native.ptr == right.as.function->native.ptr;
|
||||
return left.as.function->native.callback == right.as.function->native.callback;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user