string.h is needed to use strdup
Change-Id: Icf6e14ea3a5425054c4c817ba72886ffb058c167
return unique_ptr_gobj<T>(ptr);
}
-char *state_to_char(AtspiStateType state);
+char* state_to_char(AtspiStateType state);
#endif
\ No newline at end of file
#include "AccessibleUtils.h"
#include "loguru.hpp"
+#include <string.h>
-char *state_to_char(AtspiStateType state)
+char* state_to_char(AtspiStateType state)
{
switch (state) {
case ATSPI_STATE_INVALID:
}
}
-static void debug( AtspiStateSet *stateSet)
+static void _print_stateset_debug( AtspiStateSet *stateSet)
{
if (!stateSet) return;
GArray *states = atspi_state_set_get_states(stateSet);