Skip to content

Commit

Permalink
.lua file loading testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pd3v committed Jul 29, 2024
1 parent 3e48d52 commit ada8325
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions line.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//
e//
// line - tiny command-line MIDI sequencer for live coding
//
// Created by @pd3v_
Expand All @@ -23,7 +23,6 @@
#include <readline/history.h>
#include "externals/link/examples/linkaudio/AudioPlatform_Dummy.hpp"
#include "externals/rtmidi/RtMidi.h"
// #include "RtMidi.h"

#if (__APPLE__)
#define __MACOSX_CORE__
Expand Down Expand Up @@ -177,6 +176,8 @@ class Parser {
if (int luaError = luaL_dostring(L, p.c_str()) == LUA_OK) {
lua_getglobal(L, "t");

std::cout << "lua parser loaded\n";

// 3D Lua table to c++ vector
if (lua_istable(L,-1)) {
lua_pushnil(L);
Expand Down

0 comments on commit ada8325

Please sign in to comment.