* }}} */ * object allocation {{{ */
()
| 1602 | /* object allocation {{{ */ |
| 1603 | |
| 1604 | func (ls *LState) NewTable() *LTable { |
| 1605 | return newLTable(defaultArrayCap, defaultHashCap) |
| 1606 | } |
| 1607 | |
| 1608 | func (ls *LState) CreateTable(acap, hcap int) *LTable { |
| 1609 | return newLTable(acap, hcap) |