Skip to content
Snippets Groups Projects
Select Git revision
  • cf18a62bd1d0375b436a9f9075811789516011e6
  • main default protected
2 results

shamalloc.h

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    shamalloc.h 250 B
    #ifndef SHAMALLOC_H
    #define SHAMALLOC_H
    
    #include <stdlib.h>
    #include <stdint.h>
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    int32_t shamalloc_time_until_broken = -1;
    
    void break_alloc(int32_t times);
    
    #ifdef __cplusplus
    }
    #endif
    
    #endif // SHAMALLOC_H