Skip to content

Function make the object more C++ friendly

Marco Trevisan requested to merge 3v1n0/gjs:cpp-function into master

Coming from !494 (merged). This would be best with !504 (merged), however there's no dependency.

One of the issues here (as discussed in !494 (comment 915310)) was that it was causing a memory error, the reason was that we manually free'd the Function private stuff even after that it was set as private data (in case of error).

But now it's handled properly.

Merge request reports