Module: Svn::Repo::C
- Extended by:
- FFI::Library
- Defined in:
- lib/svn/repos.rb
Constant Summary collapse
- CollectChanges =
FFI::Function.new( :pointer, [ :pointer, :string, :long, :pointer ] ) do |data_ptr, path, rev, pool| arr = Utils.unwrap( data_ptr ) arr << [ path, rev ] nil # no error end
- CollectHistory =
FFI::Function.new( :pointer, [ :pointer, :pointer, :pointer ] ) do |data_ptr, log_entry_ptr, pool| arr = Utils.unwrap( data_ptr ) # the struct passed here is shared for all calls and the data is freed # and overwritten, so the data from each Log::Entry struct needs to be # copied out using :to_h arr << Utils.content_for( log_entry_ptr, Log::Entry ).to_h nil # no error end