projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e10ea
)
Add accessor for use with things like fprintf().
author
Carl Hetherington
<cth@carlh.net>
Wed, 13 Apr 2022 22:19:55 +0000
(
00:19
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 5 May 2022 19:46:30 +0000
(21:46 +0200)
src/file.h
patch
|
blob
|
history
diff --git
a/src/file.h
b/src/file.h
index 26d0704a6ae42af53fa1f7dd24be75b898f9b09e..ec13fc8287477fdbb9fb1cb8b7217c94d7464fda 100644
(file)
--- a/
src/file.h
+++ b/
src/file.h
@@
-91,6
+91,10
@@
public:
*/
FILE* take();
+ FILE* get() {
+ return _file;
+ }
+
private:
boost::filesystem::path _path;
FILE* _file = nullptr;