Update README.md

This commit is contained in:
Jonathan Turner 2016-03-04 08:10:53 -05:00
parent 02f65df0f2
commit ed2ab3c09b

View File

@ -133,7 +133,7 @@ fn main() {
} }
``` ```
You can also see in this example how you can register multiple functions (or in this case multiple instances of the same function) to the same name in script. The scripting engine will handle looking up the correct function during function resolution. You can also see in this example how you can register multiple functions (or in this case multiple instances of the same function) to the same name in script. This gives you a way to overload functions and call the correct one, based on the types of the arguments, from your script.
# Example: Working with custom types and methods # Example: Working with custom types and methods