Anish Bhobe
Anish Bhobe
> Haven't run into this myself but I have a feeling I soon will. We had similar issues with returning String and Object but not sure how @vnen fixed those....
Attaching the callstack to the location of `memdelete` in the ref. During the return process at the end of the `call_with_ptr_args_ret_helper` the memdelete is called on the data in Ref...
I've run through the calls - `Variant` never enters the picture. This is the `encode()` selected. There seems to be a specialization of `PtrToArg` for `Ref` ```cpp template struct PtrToArg...
> There cannot be two separate reference counts because the reference count is stored inside the Godot object. So either side could increment or decrement, it should remain consistent, as...
Writing a conclusion as to why this is logically correct and not a Hack. Original Code: https://github.com/godotengine/godot-cpp/blob/8d25e04d28caed4db905fe0a96c4b4ea9b1cf53f/include/godot_cpp/classes/ref.hpp#L248-L250 This directly does the ownership transfer without incrementing `RefCounted` - as p_ptr is...
@matjazPrijatelj This plugin is only an addition of FFmpeg into godot. While FFmpeg contains a feature to play rtp streams, it's not specifically in the plugin. If passing the descriptor...
Bypasses `Ref` issue (https://github.com/godotengine/godot-cpp/issues/652) by using `Object*` when the ownership is completely transferred from the Extension to Godot. Plugins make the engine crash on exit due to invalid access to...
> If you've got a moment, can you write a guide how to test, and how to develop for this? Let me know if it's too much work. This commit...
> Fire is asking if you can update this to fix the conflicting files. It would be great to get this into 4.0 > > My understanding is there is...
> Hi, > I appreciate that you went ahead and updated the PR... I have no idea what happened but it looks like git tried to include a merge into...