mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
generator: Sort most output.
Look for use of external_functions and fish_functions and replace with use of external_functions_sorted and fish_functions_sorted where possible. This ensures that the output of the generator is sorted as far as possible. I also checked for uses of internal_functions and documented_functions but those are not used. The *_sorted versions are always used instead.
This commit is contained in:
@@ -389,7 +389,7 @@ public class GuestFS {
|
||||
generate_java_prototype ~privat:true ~native:true f.name f.style;
|
||||
pr "\n";
|
||||
pr "\n";
|
||||
) external_functions;
|
||||
) external_functions_sorted;
|
||||
|
||||
pr "}\n"
|
||||
|
||||
@@ -1114,7 +1114,7 @@ get_all_event_callbacks (guestfs_h *g, size_t *len_rtn)
|
||||
|
||||
pr "}\n";
|
||||
pr "\n"
|
||||
) external_functions
|
||||
) external_functions_sorted
|
||||
|
||||
and generate_java_struct_return typ jtyp cols =
|
||||
pr " cl = (*env)->FindClass (env, \"com/redhat/et/libguestfs/%s\");\n" jtyp;
|
||||
|
||||
Reference in New Issue
Block a user