mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-08 12:13:41 +02:00
Fixed the core issue (nil was not working as return value of a factory method)
This commit is contained in:
Vendored
+10
@@ -76,3 +76,13 @@ class RBAGFactory < RBA::GFactory
|
||||
end
|
||||
end
|
||||
|
||||
class RBANilGFactory < RBA::GFactory
|
||||
def initialize
|
||||
super()
|
||||
end
|
||||
# reimplementation of "virtual GObject *f(int)"
|
||||
def f(z)
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user