lua lua_settable
2024-10-18 18:21:27
void lua_settable (lua_State *L, int index);
Does the equivalent to t[k] = v
, where t
is the value at the given index, v
is the value at the top of the stack, and k
is the value just below the top.
This function pops both the key and the value from the stack. As in Lua, this function may trigger a metamethod for the "newindex" event (see §2.4).
lua_settable 前栈情况
-----------------top-------------------
`Val'
1
table
-----------------end-------------------
lua_settable(L, -3) 之后
-----------------top-------------------
table
-----------------end-------------------
最新文章
- JAVA大数据数组排序
- hdu 5269 ZYB loves Xor I
- 说不尽的MVVM(1) – Why MVVM
- gdb使用_转
- RaidoGroup+RadioButton模拟android下拉框弹出List
- Python程序的混淆和加密
- ATL一:CWindowImpl
- event事件:
- JS之路——常用正则表达式
- C# 同步/并发队列ConcurrentQueue (表示线程安全的先进先出 (FIFO) 集合)
- ubuntu系统下设置静态IP
- T-SQL技巧收集——拆分字符串
- meta--------link
- 二.GC相关之Java内存模型
- 初识Log4Net
- Unity Shader 基础(4) 由深度纹理重建坐标
- ctrl c 中文字符到 vnc 里,中文字符已经被转码
- gpio模拟I2C,驱动pcf8574T
- sqlserver收缩数据库
- js短信验证码
热门文章
- [转载]设置Chrome忽略网站证书错误
- Spiral Matrix II leetcode java
- 字符串 CSV解析 表格 逗号分隔值 通讯录 电话簿 MD
- TRIZ系列-创新原理-13-反过来做原理
- scikit-learn——快速入门 - daniel-D(转)
- spark0.9分布式安装
- [Jest] Set up Testing Globals in an Application with Jest
- Direct2D教程III——几何(Geometry)对象
- Android通用框架设计与完整电商APP开发系列文章
- ecshop中smarty最常用的6大基本语法