Sha256: df97e244ff845ccc0a0aebb51137257c81a1ee489ac369e0f40a64f9396b2b88
Contents?: true
Size: 757 Bytes
Versions: 1
Compression:
Stored size: 757 Bytes
Contents
module AutoC # :nodoc: module Iterators # :nodoc: module Unidirectional def write_intf_decls(stream, declare, define) super stream << %$ #{declare} void #{itCtor}(#{it_ref}, #{type_ref}); #{declare} int #{itMove}(#{it_ref}); #{declare} #{element.type} #{itGet}(#{it_ref}); $ end end # :nodoc: module Bidirectional def write_intf_decls(stream, declare, define) super stream << %$ #{declare} void #{itCtor}(#{it_ref}, #{type_ref}); #define #{itCtor}(self, type) #{itCtorEx}(self, type, 1) #{declare} void #{itCtorEx}(#{it_ref}, #{type_ref}, int); #{declare} int #{itMove}(#{it_ref}); #{declare} #{element.type} #{itGet}(#{it_ref}); $ end end end # Iterators end # AutoC
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
autoc-1.4 | lib/autoc/collection/iterator.rb |