mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Fixed Typos
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Compiling Toy
|
# Compiling Toy
|
||||||
|
|
||||||
This tutorial is a sub-section of [Using-Toy](using-toy) that has been spun off into it's own page for the sake of brevity/sanity. It's recommended that you read the main article first.
|
This tutorial is a sub-section of [Using Toy](using-toy) that has been spun off into it's own page for the sake of brevity/sanity. It's recommended that you read the main article first.
|
||||||
|
|
||||||
The exact phases outline here are entirely implementation-dependent - that is, they aren't required, and are simply how the canonical version of Toy works.
|
The exact phases outline here are entirely implementation-dependent - that is, they aren't required, and are simply how the canonical version of Toy works.
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ int hookStandard(Interpreter* interpreter, Literal identifier, Literal alias) {
|
|||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
//inject each native C functions into the current scope
|
//inject each native C functions into the current scope
|
||||||
for (int i = 0; natives[i].name; i++) {
|
for (int i = 0; natives[i].name; i++) {
|
||||||
injectNativeFn(interpreter, natives[i].name, natives[i].fn);
|
injectNativeFn(interpreter, natives[i].name, natives[i].fn);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user