| 175 | /************************************************************************/ |
| 176 | |
| 177 | PJ_CONTEXT* pj_get_default_ctx() |
| 178 | |
| 179 | { |
| 180 | // C++11 rules guarantee a thread-safe instantiation. |
| 181 | static pj_ctx default_context(pj_ctx::createDefault()); |
| 182 | return &default_context; |
| 183 | } |
| 184 | |
| 185 | /************************************************************************/ |
| 186 | /* ~pj_ctx() */ |
no outgoing calls
no test coverage detected