summaryrefslogtreecommitdiffstats
path: root/lib/e17/eina.rb
blob: 9309cfe4b47cf4430dc7b08aa78b9deffd830878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'e17/ffi_helper'
#
module E17
    module EINA
        #
        extend FFIHelper
        extend FFI::Library
        #
        ffi_lib 'eina'
        #
        fcts = [
            [ :eina_init, [], :int],
            [ :eina_shutdown, [], :int],
        ]
        #
        attach_fcts fcts
        #
        create_aliases 'eina_'.length, fcts
        #
    end
end
#
# EOF