Esempio n. 1
0
def ntohs(x):
    return rffi.cast(lltype.Signed, _c.ntohs(x))
Esempio n. 2
0
def ntohs(x):
    assert isinstance(x, int)
    return rffi.cast(lltype.Signed, _c.ntohs(x))
Esempio n. 3
0
def ntohs(x):
    assert isinstance(x, int)
    return rffi.cast(lltype.Signed, _c.ntohs(x))