Project

Profile

Help

Maintenance. Planio will be undergoing a scheduled maintenance this weekend. Between Saturday, July 24 at 9:00 UTC and Sunday, July 25, 22:00 UTC your account might observe occasional downtimes which may last up to several minutes in some cases.

Revision 7728ae0b

Added by O'Neil Delpratt 5 months ago

Saxon/C development

View differences:

src/main/c/Saxon.C.API/SaxonProcessor.cpp
47 47
    std::free(ptr);
48 48
}
49 49

  
50
void operator delete(void*, std::size_t) noexcept {
51
    auto ind= std::distance(myAlloc.begin(),std::find(myAlloc.begin(), myAlloc.end(),ptr));
52
    myAlloc[ind]= nullptr;
53
    std::free(ptr);
54

  
55
}
56

  
50 57
#define new new(__FILE__, __LINE__)
51 58

  
52 59
void SaxonProcessor::getInfo(){

Also available in: Unified diff