Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #124 from photoshell/libraw_18_support
Browse files Browse the repository at this point in the history
Libraw 18 support
  • Loading branch information
campaul committed Jul 9, 2017
2 parents f098c78 + fd20431 commit 9e4913f
Show file tree
Hide file tree
Showing 3 changed files with 629 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/api/libraw.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@ Submodules
:undoc-members:
:show-inheritance:

.. automodule:: libraw.structs_18
:members:
:undoc-members:
:show-inheritance:


2 changes: 2 additions & 0 deletions libraw/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from libraw.errors import c_error
from libraw import structs_16
from libraw import structs_17
from libraw import structs_18


class LibRaw(CDLL):
Expand Down Expand Up @@ -41,6 +42,7 @@ def __init__(self): # pragma: no cover
structs = {
16: structs_16,
17: structs_17,
18: structs_18,
}[self.version_number[1]]
except KeyError:
raise ImportError(
Expand Down
Loading

0 comments on commit 9e4913f

Please sign in to comment.