I don't see any reason to get a pointer, I want a ref instead

This commit is contained in:
King_DuckZ 2020-05-01 01:53:53 +02:00
commit 279a34237b
4 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@
namespace wren {
class VM;
typedef void(*foreign_method_t)(VM*);
typedef void(*foreign_method_t)(VM&);
class DefConfiguration : public Configuration {
public:

View file

@ -32,7 +32,7 @@ namespace wren {
class VM;
class DynafuncMaker;
typedef void(*foreign_method_t)(VM*);
typedef void(*foreign_method_t)(VM&);
typedef void(*finalizer_t)(void*);
struct foreign_class_t {