Michel Hermier

Results 441 comments of Michel Hermier

I don't have windows to test it easily, it might be there is a problem in path somehow seeing that the drive is duplicated.

Probably a platform issue, windows has an odd notion of pwd of execution...

wrenEnsureSlots is forbidden in foreign functions. It break some internal assumptions about the stack, in case the stack needs to be reallocated.

The easiest workaround is to hack the VM configuration to increase the initial stack size so that the fiber stack never reallocate.

The problem is caused by the fact that WrenVM cache the current stack base pointer when performing a foreign call for "performance" reasons. When performing a wrenEnsureSlots that cached value...

This is the cause, not the issue. Somewhere along the C stack, we preserve a pointer into the old stack, and reuse it later. Le lun. 22 juil. 2024, 18:36,...

For the string case there is no easy way, either your API also support char* or std::string_view, or you have to convert back and forth. For refcounted objects, I think...

Technically you can provide your own String class. The thing is that you'll need to guess the place where you need to convert from your string to wren string (thought...

Looks like to be an API design issue. There is a mix of class instance vs object instance mix, with some unknown underlying native system. It is most likely you...

Ifeom what I understand,the issue is not at registration, but at the wrenCall site. What triggers the call and do you expect to trigger? As of right now Weapon class...