inseven / opolua

A compiled-OPL interpreter for iOS written in Lua
https://opolua.org
MIT License
12 stars 0 forks source link

refactor: Enable `OpoInterpreter` reuse in other projects #305

Closed jbmorley closed 1 month ago

jbmorley commented 1 month ago

This small change moves towards allowing the OpoLua core functionality to be reused in other projects by marking some functions and classes as public and moving the CGImage extensions into the 'swift' directory so this can be use standalone (alongside the 'src' directory which contains the corresponding Lua source).

It's unclear what the long-term approach to allowing code reuse across projects will be, but this allows for initial experimentation.