mirror of
https://github.com/CPunch/LuaPytecode.git
synced 2024-12-22 06:10:03 +00:00
removed unused function
This commit is contained in:
parent
559ea05287
commit
9bdeecc601
4
luac.py
4
luac.py
@ -49,10 +49,6 @@ def get_bits(num, p, k):
|
|||||||
# convert extracted sub-string into decimal again
|
# convert extracted sub-string into decimal again
|
||||||
return (int(kBitSubStr,2) % 256)
|
return (int(kBitSubStr,2) % 256)
|
||||||
|
|
||||||
def get_bits_2(input, n):
|
|
||||||
pn = 2^(n-1)
|
|
||||||
return (input % (pn + pn) >= pn) and 1 or 0
|
|
||||||
|
|
||||||
class LuaCompiler:
|
class LuaCompiler:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.luac = "luac5.1"
|
self.luac = "luac5.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user