-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mapped in all libexif functions, types and public Structs.
- Loading branch information
1 parent
977e6a5
commit 378b96f
Showing
8 changed files
with
436 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
require 'ffi/exif/types' | ||
require 'ffi/exif/exif' | ||
require 'ffi/exif/content' | ||
require 'ffi/exif/data' | ||
require 'ffi/exif/entry' | ||
require 'ffi/exif/rational' | ||
require 'ffi/exif/srational' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module FFI | ||
module EXIF | ||
class Content < FFI::Struct | ||
|
||
layout :entries, :pointer, | ||
:count, :uint, | ||
:parent, :pointer, | ||
:priv, :pointer | ||
|
||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'ffi/exif/types' | ||
|
||
module FFI | ||
module EXIF | ||
class Data < FFI::Struct | ||
|
||
layout :ifd, [:pointer, EXIF.enum_type(:exif_ifd)[:count]], | ||
:data, :pointer, | ||
:size, :uint, | ||
:priv, :pointer | ||
|
||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require 'ffi/exif/types' | ||
|
||
module FFI | ||
module EXIF | ||
class Entry < FFI::Struct | ||
|
||
layout :tag, :exif_tag, | ||
:format, :exif_format, | ||
:components, :ulong, | ||
:data, :pointer, | ||
:size, :uint, | ||
:parent, :pointer, | ||
:priv, :pointer | ||
|
||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
require 'ffi/exif/types' | ||
|
||
module FFI | ||
module EXIF | ||
class Rational < FFI::Struct | ||
|
||
layout :numerator, :exif_long, | ||
:denominator, :exif_long | ||
|
||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
require 'ffi/exif/types' | ||
|
||
module FFI | ||
module EXIF | ||
class SRational < FFI::Struct | ||
|
||
layout :numerator, :exif_slong, | ||
:denominator, :exif_slong | ||
|
||
end | ||
end | ||
end |
Oops, something went wrong.