mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
generator: Move defaults to Types module.
Just code motion in preparation for the following commits.
This commit is contained in:
@@ -22,23 +22,6 @@ open Common_utils
|
||||
open Types
|
||||
open Utils
|
||||
|
||||
(* Default settings for all action fields. So we copy and override
|
||||
* this struct by writing '{ defaults with name = &c }'
|
||||
*)
|
||||
let defaults = { name = "";
|
||||
added = (-1,-1,-1);
|
||||
style = RErr, [], []; proc_nr = None;
|
||||
tests = []; test_excuse = "";
|
||||
shortdesc = ""; longdesc = "";
|
||||
protocol_limit_warning = false; fish_alias = [];
|
||||
fish_output = None; visibility = VPublic;
|
||||
deprecated_by = None; optional = None;
|
||||
progress = false; camel_name = "";
|
||||
cancellable = false; config_only = false;
|
||||
once_had_no_optargs = false; blocking = true; wrapper = true;
|
||||
c_name = ""; c_function = ""; c_optarg_prefix = "";
|
||||
non_c_aliases = [] }
|
||||
|
||||
(* These test functions are used in the language binding tests. *)
|
||||
|
||||
let test_all_args = [
|
||||
|
||||
Reference in New Issue
Block a user