search for: private_functions_sort

Displaying 3 results from an estimated 3 matches for "private_functions_sort".

2016 Nov 08
4
[PATCH 1/3] generator: c: move internal functions
...ed; + + pr "\ +#if GUESTFS_PRIVATE +/* Symbols protected by GUESTFS_PRIVATE are NOT part of the public, + * stable API, and can change at any time! We export them because + * they are used by some of the language bindings. + */ + +/* Private functions. */ + +"; + + generate_all_headers private_functions_sorted; + + pr "\ +/* Private structures. */ + +"; + + generate_all_structs internal_structs; + +pr "\ + +#endif /* End of GUESTFS_PRIVATE. */ + +/* Deprecated macros. Use GUESTFS_HAVE_* instead. */ + +#define LIBGUESTFS_HAVE_CREATE_FLAGS 1 +#define LIBGUESTFS_HAVE_LAST_ERRNO 1 +#defin...
2016 Nov 08
0
[PATCH 2/3] Split internal stuff out of guestfs.h
...l -> false + +let is_internal { visibility = v } = match v with + | VInternal -> true + | VPublic | VPublicNoFish | VStateTest | VDebug | VBindTest -> false let public_functions_sorted = List.filter is_public (actions |> sort) @@ -47,6 +53,9 @@ let public_functions_sorted = let private_functions_sorted = List.filter is_private (actions |> sort) +let internal_functions_sorted = + List.filter is_internal (actions |> sort) + (* Generate a C function prototype. *) let rec generate_prototype ?(extern = true) ?(static = false) ?(semicolon = true) @@ -607,13 +616,6 @@ extern GUESTFS...
2016 Sep 02
6
[PATCH 0/4] generator: Some work to split large C files
By splitting up large C files we can make parallel compiles a bit faster. Rich.