Removed needless C_list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b19e234375
commit
71ce7cb69a
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ let _ = if Array.length Sys.argv < 3 then
|
|||
|
||||
let x = int_of_string Sys.argv.(1)
|
||||
let y = int_of_string Sys.argv.(2)
|
||||
let (xf,yf) = match _factor (C_list [ C_int x ; C_int y ]) with
|
||||
let (xf,yf) = match _factor '((x to int),(y to int)) with
|
||||
C_list [ C_int a ; C_int b ] -> a,b
|
||||
| _ -> raise BadReturn
|
||||
let _ = print_endline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue