PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/wrappers/glib/test/g_dates.e

http://github.com/tybor/Liberty
Specman e | 17 lines | 15 code | 2 blank | 0 comment | 2 complexity | a813d0be9f57275297c7a69cf525abc0 MD5 | raw file
 1class G_DATES
 2inherit 
 3	G_LIST[G_DATE]
 4   
 5creation make, copy
 6
 7feature {WRAPPER,WRAPPER_HANDLER} -- Implementation
 8	wrapper (a_pointer: POINTER): G_DATE is
 9      do
10         if wrappers.fast_has(a_pointer) then
11            Result ?= wrappers.at(a_pointer)
12         end
13         if Result = Void then
14            Result := create {G_DATE}.from_external_pointer(a_pointer)
15         end
16		end
17end