FAForever / FAForever/lua-lang
Add metamethods for bitwise operators and remove `__gc`
Open
- Dominant language
- C
- Stars
- 1
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
GPG added metamethods for bitwise operators which I didn't do when I added them. The methods are called
```c
"__band", "__bor", "__bshl", "bshr"
```
They also removed the `__gc` metamethod.
For inspiration only, the implementation here should not necessarily be taken as a reference.
https://github.com/lua/lua/blob/75ea9ccbea7c4886f30da147fb67b693b2624c26/ltm.c#L43
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.