nodemcu-firmware/app/lua
Nick Andrew e9ee9a57d1 Remove the lobject.c:88 assertion failures
When lua assertions are enabled, normal operation results in many:

lobject.c:88: (((t1)->tt) == 4)
lobject.c:88: (((t2)->tt) == 4)
lobject.c:88: (((t1)->tt) == 4)
lobject.c:88: (((t2)->tt) == 4)
lobject.c:88: (((t1)->tt) == 4)
lobject.c:88: (((t2)->tt) == 4)

It comes from using the pvalue() macro for 3 pointer types, where
pvalue() also checks the type of pointer and complains through the
assertion where the type == 4 (TLIGHTUSERDATA).

Use the correct macro according to the type of data being compared
to eliminate this assertion error.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-12-06 01:42:29 +11:00
..
luac_cross Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
Makefile source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
compiler.h Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
lapi.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lapi.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
lauxlib.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lauxlib.h Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lbaselib.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lcode.c Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
lcode.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
ldblib.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
ldebug.c Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
ldebug.h Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
ldo.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
ldo.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
ldump.c Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
legc.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
legc.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
lfunc.c Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
lfunc.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
lgc.c Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
lgc.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
liolib.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
llex.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
llex.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
llimits.h Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lmathlib.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lmem.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lmem.h Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
loadlib.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lobject.c Remove the lobject.c:88 assertion failures 2015-12-06 01:42:29 +11:00
lobject.h Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
lopcodes.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lopcodes.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
lparser.c Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
lparser.h Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
lrodefs.h handle font data as light userdata 2015-03-01 23:11:24 +01:00
lrotable.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lrotable.h handle font data as light userdata 2015-03-01 23:11:24 +01:00
lstate.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lstate.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
lstring.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lstring.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
lstrlib.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
ltable.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
ltable.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
ltablib.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
ltm.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
ltm.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
lua.c re-add detection of CR as newline 2015-11-22 13:00:40 +01:00
lua.h Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
luac_cross.h Minor tweaks to luac.cross for SDK 1.4 support 2015-11-03 22:45:43 +00:00
luaconf.h Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lualib.h add macro to control built-in lib for lua, add libm.a 2015-03-06 15:55:24 +08:00
lundump.c Port of strip debug patch to the SDK 1.4-baseline dev 2015-11-08 23:46:08 +00:00
lundump.h Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lvm.c Fix ECG case in concat where stack top not recalculated 2015-12-03 19:16:30 +00:00
lvm.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
lzio.c Add luac.cross capability to nodeMCU 2015-11-03 21:37:14 +00:00
lzio.h source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00