From b421c5059f2a7bfd47b5bdf4c3488a3e8bda5b40 Mon Sep 17 00:00:00 2001 From: Florent Monjalet Date: Mon, 18 Jan 2016 14:04:20 +0100 Subject: Types: misleading comment correction in example --- example/jitter/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/jitter/types.py') diff --git a/example/jitter/types.py b/example/jitter/types.py index e714372c..c37c3b84 100644 --- a/example/jitter/types.py +++ b/example/jitter/types.py @@ -239,7 +239,7 @@ print "3 arguments argv type:", argv_t # alloc argv somewhere argv = argv_t.lval(vm) -# Auto alloc with a buffer type +# Auto alloc with the MemStr.from_str helper MemStrAnsi = Str().lval argv[0].val = MemStrAnsi.from_str(vm, "./my-program").get_addr() argv[1].val = MemStrAnsi.from_str(vm, "arg1").get_addr() -- cgit 1.4.1