projects
/
profile
/
ivi
/
swig.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upstream version 1.3.40
[profile/ivi/swig.git]
/
Examples
/
test-suite
/
octave
/
li_cmalloc_runme.m
1
li_cmalloc
2
3
p = malloc_int();
4
free_int(p);
5
6
ok = 0;
7
try
8
p = calloc_int(-1);
9
free_int(p);
10
catch
11
ok = 1;
12
end_try_catch
13
14
if (ok != 1)
15
error
16
endif
17