diff options
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 |