diff options
author | Kevin Newton <[email protected]> | 2023-09-27 12:24:48 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2023-09-27 13:57:38 -0400 |
commit | 4f73a7c2f7ff16aa78cf0dec2d4c7f90a2c41c9b (patch) | |
tree | 3b6f0cedc858d46d30a28c6d03439d653884a915 /prism/util/pm_state_stack.h | |
parent | 8ab56869a64fdccc094f4a83c6367fb23b72d38b (diff) |
Sync to prism rename commits
Diffstat (limited to 'prism/util/pm_state_stack.h')
-rw-r--r-- | prism/util/pm_state_stack.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/prism/util/pm_state_stack.h b/prism/util/pm_state_stack.h index 69d8d7d54b..aef639074a 100644 --- a/prism/util/pm_state_stack.h +++ b/prism/util/pm_state_stack.h @@ -1,24 +1,24 @@ -#ifndef YP_STATE_STACK_H -#define YP_STATE_STACK_H +#ifndef PRISM_STATE_STACK_H +#define PRISM_STATE_STACK_H -#include "yarp/defines.h" +#include "prism/defines.h" #include <stdbool.h> #include <stdint.h> // A struct that represents a stack of bools. -typedef uint32_t yp_state_stack_t; +typedef uint32_t pm_state_stack_t; // Initializes the state stack to an empty stack. -#define YP_STATE_STACK_EMPTY ((yp_state_stack_t) 0) +#define PM_STATE_STACK_EMPTY ((pm_state_stack_t) 0) // Pushes a value onto the stack. -void yp_state_stack_push(yp_state_stack_t *stack, bool value); +void pm_state_stack_push(pm_state_stack_t *stack, bool value); // Pops a value off the stack. -void yp_state_stack_pop(yp_state_stack_t *stack); +void pm_state_stack_pop(pm_state_stack_t *stack); // Returns the value at the top of the stack. -bool yp_state_stack_p(yp_state_stack_t *stack); +bool pm_state_stack_p(pm_state_stack_t *stack); #endif |