Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  > You should be able to get the size of c_ulong without
  > any dependencies using
  > std::mem::size_of::<std::os::raw::c_ulong>().
That's very useful, thank you! I hadn't noticed `std::os::raw` before, but it's exactly what I wanted.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: