aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-06-12 19:10:14 +0100
committergingerBill <bill@gingerbill.org>2018-06-12 19:10:14 +0100
commite9e7ce2606ae18dd96fde356860fe613ff5c5430 (patch)
tree513221bea901cbba620f5ebe3cc32d4617bd9cb8 /examples
parent915dcb0c28623e1221729cb46f998c5d6435689b (diff)
Allow `.allocator` for dynamic arrays; Add `mem.Pool`
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin23
1 files changed, 0 insertions, 23 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index d4f1725ce..416950d6c 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -587,28 +587,6 @@ array_programming :: proc() {
}
}
-
-using println in import "core:fmt"
-
-using_in :: proc() {
- fmt.println("# using in");
- using print in fmt;
-
- println("Hellope1");
- print("Hellope2\n");
-
- Foo :: struct {
- x, y: int,
- b: bool,
- }
- f: Foo;
- f.x, f.y = 123, 321;
- println(f);
- using x, y in f;
- x, y = 456, 654;
- println(f);
-}
-
named_proc_return_parameters :: proc() {
fmt.println("# named proc return parameters");
@@ -745,7 +723,6 @@ main :: proc() {
parametric_polymorphism();
threading_example();
array_programming();
- using_in();
named_proc_return_parameters();
enum_export();
explicit_procedure_overloading();