This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "cengine/renderer.h" | |
#include "cengine/ui/ui.h" | |
#include "cengine/ui/font.h" | |
#include "cengine/ui/dropdown.h" | |
void dropdown_create (void) { | |
Renderer *main_renderer = renderer_get_by_name ("main"); | |
Font *font = ui_font_get_default (); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mongo.h" | |
// opens handle to user collection | |
int users_collection_get (void) { | |
int errors = 0; | |
users_collection = mongo_collection_get (USERS_COLL_NAME); | |
if (!users_collection) { | |
log_msg (stderr, LOG_ERROR, LOG_NO_TYPE, "Failed to get handle to users collection!"); |
OlderNewer