Module: Sock
- Defined in:
- lib/tep/net.rb
Overview
All FFI plumbing lives at the top level so spinel's name resolver finds it from anywhere in the Tep tree (nested modules confuse it).
The @TEP_SPHTTP_O@ placeholder is substituted by bin/tep (or
the Makefile) with the absolute path to the built sphttp.o on the
current host. Spinel doesn't support __dir__ or ENV.fetch in
top-level ffi_cflags, so a build-time substitution is the cleanest
portable shape.