Skip to content

chore(core): move set_context_from_string and get_context_as_string into helper module #10423

@mcdurdin

Description

@mcdurdin

From #10403. These functions are used both by set_context_if_needed and by test_actions_normalize. So move them into a helper module to clarify the general utility.

// TODO: These helpers are in km_core_state_context_set_if_needed.cpp and
// should be refactored into a helper module
km_core_status set_context_from_string(km_core_context *context, km_core_cp const *new_context);
km_core_cp* get_context_as_string(km_core_context *context);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions