git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extra tests: Run C API tests under valgrind.
[libguestfs.git]
/
generator
/
generator_api_versions.ml
diff --git
a/generator/generator_api_versions.ml
b/generator/generator_api_versions.ml
index
5f9d96f
..
1749752
100644
(file)
--- a/
generator/generator_api_versions.ml
+++ b/
generator/generator_api_versions.ml
@@
-39,6
+39,5
@@
let load_api_versions filename =
close_in chan
let lookup_api_version sym =
- try Hashtbl.find hash sym
- with Not_found ->
- failwithf "API symbol \"%s\" not found in API versions file" sym
+ try Some (Hashtbl.find hash sym)
+ with Not_found -> None