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