MCPcopy Create free account
hub / github.com/christophhart/HISE / setThisObject

Method setThisObject

hi_scripting/scripting/api/ScriptingBaseObjects.cpp:711–717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709}
710
711void WeakCallbackHolder::setThisObject(ReferenceCountedObject* thisObj)
712{
713 thisObject = dynamic_cast<DebugableObjectBase*>(thisObj);
714
715 // Must call incRefCount before this method
716 jassert(weakCallback == nullptr || (anonymousFunctionRef.isObject() || !weakCallback->allowRefCount()));
717}
718
719void WeakCallbackHolder::setThisObjectRefCounted(const var& t)
720{

Callers 15

ComponentDragInfoMethod · 0.80
isValidMethod · 0.80
RuntimeFunctionMethod · 0.80
setPreCallbackMethod · 0.80
setPostCallbackMethod · 0.80
setPostSaveCallbackMethod · 0.80
setExpansionCallbackMethod · 0.80
setInstallCallbackMethod · 0.80
ScriptDownloadObjectMethod · 0.80
setCallbackInternalMethod · 0.80
setTimerCallbackMethod · 0.80

Calls 2

isObjectMethod · 0.45
allowRefCountMethod · 0.45

Tested by 1

RuntimeFunctionMethod · 0.64