diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-07 13:42:34 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-07 13:42:34 +0100 |
commit | d5532e9ad29b28c2b323ad0abe4e0caa6e03f675 (patch) | |
tree | 14eda67960afaf590159df7ac3ef89b44b0172e3 /java | |
parent | 6c87a747cae61097915c71f6d505f101579e8c7a (diff) | |
download | libguestfs-d5532e9ad29b28c2b323ad0abe4e0caa6e03f675.tar.gz libguestfs-d5532e9ad29b28c2b323ad0abe4e0caa6e03f675.tar.xz libguestfs-d5532e9ad29b28c2b323ad0abe4e0caa6e03f675.zip |
Generate structs and struct lists generically.
This modifies the way that struct and struct lists are generated
(for return values) so that there is no need to add an explicit
new type when adding a new structure.
All tests pass, and the C API should be compatible.
I have also inspected the changes that are made to the generated
code by hand.
Diffstat (limited to 'java')
-rw-r--r-- | java/com/redhat/et/libguestfs/IntBool.java | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/java/com/redhat/et/libguestfs/IntBool.java b/java/com/redhat/et/libguestfs/IntBool.java deleted file mode 100644 index 23ea68f4..00000000 --- a/java/com/redhat/et/libguestfs/IntBool.java +++ /dev/null @@ -1,30 +0,0 @@ -/* libguestfs Java bindings - * Copyright (C) 2009 Red Hat Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -package com.redhat.et.libguestfs; - -/** - * A pair (int, boolean) - * - * @author rjones - * @see Exception - */ -public class IntBool { - public int i; - public boolean b; -} |