void TextBuffer::matchParens() { //std::cout << "matchParens()\n"; int b=point(); backwardExpr(); // find start of expr int a=point(); if (a<b) startMatching(a,b); }
/* This function is called after a module has been loaded. * Is invoked from user client call, ultimately from IOKitLib's * IOCatalogueModuleLoaded(). Sent from kextd. */ void IOCatalogue::moduleHasLoaded(OSString * moduleName) { OSDictionary * dict; dict = OSDictionary::withCapacity(2); dict->setObject(gIOModuleIdentifierKey, moduleName); startMatching(dict); dict->release(); (void) OSKext::considerRebuildOfPrelinkedKernel(moduleName); }