[gjs: 6/6] Merge branch 'closures-cleanup' into 'master'




commit 6eb088f634041d61ddab461f6728226f035f1ca6
Merge: a37e5e05 713ed60f
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Aug 1 23:01:45 2021 +0000

    Merge branch 'closures-cleanup' into 'master'
    
    closure (and trampoline): Reimplement to be a C++ class with custom heap allocator
    
    See merge request GNOME/gjs!625

 gi/arg-cache.cpp          |  21 ++--
 gi/arg.cpp                |   3 +-
 gi/closure.cpp            | 256 ++++++++++++++++------------------------------
 gi/closure.h              | 123 +++++++++++++++++++---
 gi/function.cpp           |  99 +++++++-----------
 gi/function.h             |  44 +++-----
 gi/object.cpp             |  30 +++---
 gi/value.cpp              |  48 ++-------
 gi/value.h                |   7 --
 gjs/context-private.h     |  12 +++
 gjs/context.cpp           |  41 +++++++-
 gjs/jsapi-util-root.h     |  64 +-----------
 test/gjs-test-rooting.cpp |  12 ++-
 13 files changed, 345 insertions(+), 415 deletions(-)
---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]