Place1 / node-gir

Node bindings to libgirepository
http://live.gnome.org/GObjectIntrospection
MIT License
27 stars 6 forks source link

refactor use of FunctionCallbackInfo.Callee() #3

Closed Place1 closed 6 years ago

Place1 commented 6 years ago

The FunctionCallbackInfo.Callee() that we use for implementing functions is deprecated and we should move await from it for good reason. Here's a link to a small discussion that outlines the reason it's being removed and an alternative.

I'm planning to do a big refactor of function.cc's Func class in addition to moving away from the deprecated APIs. I'll open a MR and reference this issue when I start the refactor.