Cairo__CObject.st
changeset 63 054f0513ea65
parent 43 1006839761af
child 86 e434bd07e403
--- a/Cairo__CObject.st	Sat Mar 05 20:22:21 2016 +0000
+++ b/Cairo__CObject.st	Mon Mar 21 22:28:05 2016 +0000
@@ -110,6 +110,18 @@
     "Created: / 28-12-2014 / 21:41:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+reference
+    "Increases the reference count on the receiver by one. This prevents the
+     receiver from being destroyed until a matching call to #destroy is made.
+
+     This method must be called whenever Cairo documentation says so, 
+     check comment on return value for methods returning a Cairo object"
+
+    ^ self subclassResponsibility
+
+    "Created: / 05-03-2016 / 10:31:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 statusCheck
     <resource: #skipInDebuggersWalkBack>