mirror of
https://github.com/jeremysrand/abCalc.git
synced 2024-11-04 22:06:40 +00:00
32 lines
363 B
C
32 lines
363 B
C
/*
|
|
abCOpClear.c
|
|
By: Jeremy Rand
|
|
*/
|
|
|
|
|
|
#include <math.h>
|
|
#include <stdio.h>
|
|
|
|
#include "abCStack.h"
|
|
|
|
#include "ops/abCOp.h"
|
|
#include "ops/abCOpClear.h"
|
|
|
|
|
|
#define CLEAR_NAME "CLEAR"
|
|
|
|
|
|
static void clearExecute(void);
|
|
|
|
|
|
void abCalcOpClearInit(void)
|
|
{
|
|
abCalcOpRegister(CLEAR_NAME, clearExecute);
|
|
}
|
|
|
|
|
|
void clearExecute(void)
|
|
{
|
|
abCalcStackClear();
|
|
}
|