Skip to content

Commit

Permalink
pd lua 0.12.18
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Sep 23, 2024
1 parent 16c2507 commit f2b06ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Control/lua/pdlua.c
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,7 @@ static int pdlua_class_new(lua_State *L)
// pdlua and pdluax built-ins don't have this.
c_gfx = class_new(gensym((char *) name_gfx), (t_newmethod) pdlua_new,
(t_method) pdlua_free, sizeof(t_pdlua), CLASS_NOINLET, A_GIMME, 0);
class_sethelpsymbol(c_gfx, gensym((char *) name));
}

// Let plugdata know this class is a lua object
Expand Down Expand Up @@ -2819,7 +2820,7 @@ void lua_setup(void)
#endif
if (strlen(pdlua_version) == 0) {
// NOTE: This should be set from the Makefile, otherwise we fall back to:
pdlua_version = "0.12.17";
pdlua_version = "0.12.18";
}
snprintf(pdluaver, MAXPDSTRING-1, "pdlua %s (GPL) 2008 Claude Heiland-Allen, 2014 Martin Peach et al.", pdlua_version);
snprintf(compiled, MAXPDSTRING-1, "pdlua: compiled for pd-%d.%d on %s",
Expand All @@ -2843,7 +2844,7 @@ void lua_setup(void)
/* post version and other information
post(pdluaver);
#ifdef ELSE */
post("ALSO ALSO ALSO NOTE: A modification of [pdlua] version 0.12.17", pdlua_version);
post("ALSO ALSO ALSO NOTE: A modification of [pdlua] version 0.12.18", pdlua_version);
post("was loaded as part of the ELSE binary, so it can load externals");
post("coded in lua the same way ([circle] and [scope3d~] are examples)");
/* #else
Expand Down

0 comments on commit f2b06ed

Please sign in to comment.