Skip to content

Commit 9f70a00

Browse files
committed
remove a bit more debugging
1 parent 4cd3625 commit 9f70a00

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

lib/vips/interpolate.rb

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ module Vips
2525
# For example:
2626
#
2727
# ```ruby
28-
# im = im.affine [2, 0, 0, 2], :interpolate => Vips::Interpolate.new(:bicubic)
28+
# im = im.affine [2, 0, 0, 2],
29+
# :interpolate => Vips::Interpolate.new(:bicubic)
2930
# ```
3031

3132
class Interpolate < Vips::Object
@@ -43,21 +44,11 @@ def self.included base
4344
class Struct < Vips::Object::Struct
4445
include InterpolateLayout
4546

46-
def initialize ptr
47-
Vips::log "Vips::Interpolate::Struct.new: #{ptr}"
48-
super
49-
end
50-
5147
end
5248

5349
class ManagedStruct < Vips::Object::ManagedStruct
5450
include InterpolateLayout
5551

56-
def initialize ptr
57-
Vips::log "Vips::Interpolate::ManagedStruct.new: #{ptr}"
58-
super
59-
end
60-
6152
end
6253

6354
def initialize name

lib/vips/operation.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ def set name, value, match_image = nil, flags = 0
219219
# the constant value 255.
220220

221221
def self.call name, supplied, option_string = ""
222-
Vips::log "Vips::VipsOperation.call: name = #{name}, " +
223-
"supplied = #{supplied} option_string = #{option_string}"
222+
#Vips::log "Vips::VipsOperation.call: name = #{name}, " +
223+
# "supplied = #{supplied} option_string = #{option_string}"
224224

225225
op = Operation.new name
226226

@@ -353,7 +353,7 @@ def self.call name, supplied, option_string = ""
353353
result = nil
354354
end
355355

356-
Vips::log "Vips::Operation.call: result = #{result}"
356+
# Vips::log "Vips::Operation.call: result = #{result}"
357357

358358
Vips::vips_object_unref_outputs op
359359

0 commit comments

Comments
 (0)