diff options
| author | 2020-04-11 14:11:08 +0200 | |
|---|---|---|
| committer | 2020-04-11 14:11:08 +0200 | |
| commit | d83747d4d57b339ce2cc42b785436126a8e8c4c6 (patch) | |
| tree | 3f41de0468c54af73010701313124302dc74b4be /example/streaming-clap.zig | |
| parent | Merge pull request #16 from joachimschmidt557/zig-master (diff) | |
| download | zig-clap-d83747d4d57b339ce2cc42b785436126a8e8c4c6.tar.gz zig-clap-d83747d4d57b339ce2cc42b785436126a8e8c4c6.tar.xz zig-clap-d83747d4d57b339ce2cc42b785436126a8e8c4c6.zip | |
update examples to latest zig
Diffstat (limited to 'example/streaming-clap.zig')
| -rw-r--r-- | example/streaming-clap.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/streaming-clap.zig b/example/streaming-clap.zig index b277266..4cc43d1 100644 --- a/example/streaming-clap.zig +++ b/example/streaming-clap.zig | |||
| @@ -4,7 +4,7 @@ const clap = @import("clap"); | |||
| 4 | const debug = std.debug; | 4 | const debug = std.debug; |
| 5 | 5 | ||
| 6 | pub fn main() !void { | 6 | pub fn main() !void { |
| 7 | const allocator = std.heap.direct_allocator; | 7 | const allocator = std.heap.page_allocator; |
| 8 | 8 | ||
| 9 | // First we specify what parameters our program can take. | 9 | // First we specify what parameters our program can take. |
| 10 | const params = [_]clap.Param(u8){ | 10 | const params = [_]clap.Param(u8){ |