Commit Graph

6 Commits

Author SHA1 Message Date
Mads Kruse Johnsen
0daa985316 Add method GetRawOwnedObject to Builder.
This method performs a GetRawObject, but also increases the refcount.

This is (at least) needed in cases where you wish to have a class inherting a widget,
and use a builder in the constructor : base (builder.GetRawObject("name"))
Because no ref is taken the eventual freeing of the builder will cause the our object (this)
to have a refcount 0.
This is an issue since the freeing of our ToggleRef (which should happen later) performs an unref.
2021-01-25 12:29:04 +01:00
Mikhail Kanygin
42a0e01775 Fixtures: added UnmanagedFunctionPointer to whole delegate calls collection to prevent stack incosistence exception for x86 apllications on windows. 2019-11-04 20:12:50 +01:00
cra0zy
26ef5bad3e
Fix file permissions, how did this happen? 2018-02-26 23:03:31 +01:00
cra0zy
411cdfd502 Safeload static functions as well 2018-01-18 22:54:45 +01:00
cra0zy
543a29569b Replace DllImport with a better multiplatform solution 2018-01-18 20:41:03 +01:00
cra0zy
6926c9cbf2 WIP CAKE + .Net Core 2017-10-23 01:25:13 +02:00