DecRefCountMethod returns the xml definition of the DecRefCount-method
()
| 1195 | |
| 1196 | // DecRefCountMethod returns the xml definition of the DecRefCount-method |
| 1197 | func DecRefCountMethod() (ComponentDefinitionMethod) { |
| 1198 | var method ComponentDefinitionMethod |
| 1199 | source := `<method name="DecRefCount" description = "Decreases the reference count of a class instance and free releases it, if the last reference has been removed"> |
| 1200 | <param name="HasBeenReleased" type="bool" pass="return" description="Has the object been released" /> |
| 1201 | </method>` |
| 1202 | xml.Unmarshal([]byte(source), &method) |
| 1203 | return method |
| 1204 | } |
| 1205 | |
| 1206 | // ReleaseBaseClassInterfaceMethod returns the xml definition of a method that should decrease the reference count of a BaseClass interface. |
| 1207 | func ReleaseBaseClassInterfaceMethod(baseClassName string) (ComponentDefinitionMethod) { |
no outgoing calls
no test coverage detected