diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml deleted file mode 100644 index 13a20d1..0000000 --- a/.github/workflows/c-cpp.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Basic Tests - -on: - push: - branches: [ "main", "dev" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: clone submodules - run: git submodule update --init --recursive - - name: install valgrind - run: sudo apt install valgrind - - name: make test - run: make test diff --git a/core/engine_node.h b/core/engine_node.h index f433042..796e8c2 100644 --- a/core/engine_node.h +++ b/core/engine_node.h @@ -5,8 +5,6 @@ #include "literal_dictionary.h" #include "interpreter.h" -#include "core_common.h" - #define OPAQUE_TAG_ENGINE_NODE 1 //forward declare @@ -16,7 +14,7 @@ typedef void (*EngineNodeCallback)(void*); //the node object, which forms a tree typedef struct _engineNode { //function for releasing memory - EngineNodeCallback freeMemory; + EngineNodeCallback freeMemory; //TODO: remove this, not needed //toy functions, stored in a dict for flexibility LiteralDictionary* functions; diff --git a/test/test_engine_node.c b/test/test_engine_node.c index af80393..41149ee 100644 --- a/test/test_engine_node.c +++ b/test/test_engine_node.c @@ -34,7 +34,7 @@ int main() { initEngineNode(node, &interpreter, tb, size); - Literal nodeLiteral = TO_OPAQUE_LITERAL(node, 0); + Literal nodeLiteral = TO_OPAQUE_LITERAL(node, OPAQUE_TAG_ENGINE_NODE); //argument list to pass in the node LiteralArray arguments;