Skip to content

src: retrieve binding data from the context

This is mostly taken from the common subset of #32761 and #32984, with a few modifications on top of it (notably, BindingData does not make sense as a class any longer and can be replaced by BaseObject directly).


Instead of passing them through the data bound to function templates, store references to them in a list embedded inside the context, and store the integer index (which is context-independent) in the function template data. This makes the function templates more context-independent, and makes it possible to embed binding data in non-main contexts.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading