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