osu-ds/source/System/ICallback.h
KonPet 183228e28e Change stuff to make it build
Removed the arm7 section
Changed the makefile to only use the arm9 stuff
Epicpkmn: Fix source/Graphics/GraphicsManager.cpp

Co-Authored-By: Pk11 <epicpkmn11@outlook.com>
Co-Authored-By: Kaisaan <34224128+Kaisaan@users.noreply.github.com>
2021-10-21 00:03:39 +02:00

21 lines
335 B
C++

#include <nds.h>
#include <stdio.h>
#include <vector>
#ifndef __ICALLBACK_H__
#define __ICALLBACK_H__
#define ARGS_PUSH(array, id, argument) array[id] = (void*)(&argument);
#define ARGS_POP(array, id, type) *((type*)array[id])
using namespace std;
class ICallback
{
public:
virtual void DoCallback(void** args) = 0;
};
#endif