examples to use the Splay support to native libraries