diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-29 17:27:09 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-29 17:27:09 +0100 |
commit | c589f79f167df20273f0b66f3614328f995e1352 (patch) | |
tree | c1a716e0f25683edcf9cfbd502df8f3d80c75be1 /lib/efl/elm | |
parent | 98d55fbd699d281dc416990eb55a5d876c9d12d3 (diff) | |
download | ffi-efl-c589f79f167df20273f0b66f3614328f995e1352.zip ffi-efl-c589f79f167df20273f0b66f3614328f995e1352.tar.gz |
parse elm_cnp.h, generate elm_cnp.rb
Diffstat (limited to 'lib/efl/elm')
-rw-r--r-- | lib/efl/elm/elm_cnp.rb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_cnp.rb b/lib/efl/elm/elm_cnp.rb new file mode 100644 index 0000000..9f8c3e8 --- /dev/null +++ b/lib/efl/elm/elm_cnp.rb @@ -0,0 +1,30 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/elm/elm_object' +require 'efl/native/elm/elm_cnp' +# +module Efl + # + module Elm + # + class ElmObject + # + def cnp_selection_set selection, format, buf, sizet + Native.elm_cnp_selection_set @ptr, selection, format, buf, sizet + end + # + def cnp_selection_get selection, format, datacb, data + Native.elm_cnp_selection_set @ptr, selection, format, datacb, data + end + # + def cnp_selection_clear selection + Native.elm_object_cnp_selection_clear @ptr, selection + end + # + end + # + end +end +# +# EOF |