210:21274e5950af | 385:a1f4cb076d2f |
---|---|
38 // new | 38 // new |
39 NSAPI_PUBLIC void* session_get_config(Session *s) { | 39 NSAPI_PUBLIC void* session_get_config(Session *s) { |
40 NSAPISession *sn = (NSAPISession*)s; | 40 NSAPISession *sn = (NSAPISession*)s; |
41 return sn->config; | 41 return sn->config; |
42 } | 42 } |
43 | |
44 NSAPI_PUBLIC void* session_get_allocator(Session *sn) { | |
45 return &((NSAPISession*)sn)->allocator; | |
46 } | |
47 |