| 52 | { |
| 53 | |
| 54 | static ObjectPtr read( CachedReader &r, const std::string &f ) |
| 55 | { |
| 56 | ScopedGILRelease gilRelease; |
| 57 | ConstObjectPtr o = r.read( f ); |
| 58 | if( o ) |
| 59 | { |
| 60 | return o->copy(); |
| 61 | } |
| 62 | else |
| 63 | { |
| 64 | return nullptr; |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | void bindCachedReader() |
| 69 | { |
no test coverage detected