/* GDB variable objects API.
- Copyright (C) 1999-2020 Free Software Foundation, Inc.
+ Copyright (C) 1999-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
extern const struct lang_varobj_ops cplus_varobj_ops;
extern const struct lang_varobj_ops ada_varobj_ops;
-#define default_varobj_ops c_varobj_ops
-
/* Non-zero if we want to see trace of varobj level stuff. */
extern unsigned int varobjdebug;
extern bool varobj_set_value (struct varobj *var, const char *expression);
-extern void all_root_varobjs (void (*func) (struct varobj *var, void *data),
- void *data);
+extern void all_root_varobjs (gdb::function_view<void (struct varobj *var)>);
extern std::vector<varobj_update_result>
varobj_update (struct varobj **varp, bool is_explicit);