20 lines
292 B
C++
20 lines
292 B
C++
|
/*
|
||
|
* Copyright 2014 (c) Anna Schumaker.
|
||
|
*/
|
||
|
#include <callback.h>
|
||
|
|
||
|
|
||
|
static void no_op(unsigned int id, library :: Library *path) {}
|
||
|
|
||
|
|
||
|
static struct Callbacks callbacks = {
|
||
|
.on_library_add = no_op,
|
||
|
.on_library_update = no_op,
|
||
|
};
|
||
|
|
||
|
|
||
|
struct Callbacks *get_callbacks()
|
||
|
{
|
||
|
return &callbacks;
|
||
|
}
|