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
void db_async_response(int id, mongo_cursor* cursor) | |
{ | |
g_vars.db_async_query_res_count++; | |
lua_getglobal(L, "DBAsyncFindResponse"); | |
// create a return table | |
int table_size = 0; | |
lua_pushnumber(L, id); | |
lua_createtable(L, 0, 0); |
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
all: | |
@echo "hello Makefile" |
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
--- | |
# BasedOnStyle: Google | |
AccessModifierOffset: -1 | |
ConstructorInitializerIndentWidth: 4 | |
AlignEscapedNewlinesLeft: true | |
AlignTrailingComments: true | |
AllowAllParametersOfDeclarationOnNextLine: true | |
AllowShortIfStatementsOnASingleLine: true | |
AllowShortLoopsOnASingleLine: true | |
AlwaysBreakTemplateDeclarations: true |