Add Context to core

This commit is contained in:
2017-10-12 04:50:33 -05:00
parent 329e8be825
commit 507c894c15
8 changed files with 62 additions and 28 deletions

View File

@@ -6,19 +6,20 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <ox/std/std.hpp>
#include "../gfx.hpp"
namespace nostalgia {
namespace core {
ox::Error initGfx() {
return 0;
ox::Error initGfx(Context *ctx) {
return 1;
}
void initConsole() {
ox::Error initConsole(Context *ctx) {
return 1;
}
void puts(int loc, const char *str) {
void puts(Context *ctx, int loc, const char *str) {
}
}