예제 #1
0
파일: rsocket.py 프로젝트: charred/pypy
def ntohs(x):
    return rffi.cast(lltype.Signed, _c.ntohs(x))
예제 #2
0
def ntohs(x):
    assert isinstance(x, int)
    return rffi.cast(lltype.Signed, _c.ntohs(x))
예제 #3
0
파일: rsocket.py 프로젝트: juokaz/pypy
def ntohs(x):
    assert isinstance(x, int)
    return rffi.cast(lltype.Signed, _c.ntohs(x))