Closed Ljiong201108 closed 5 months ago
You need to include the header for the type in question, it's forward declared because of circular includes otherwise
Ah, you are right! I didn't notice that the return type is not included. Thanks for your reply!
Godot version
4.2.2 stable
godot-cpp version
4.2
System information
Ubuntu 22.04
Issue description
I tried to use Tween within a Node but during compiling, the deduction always failed.
Here is the example code of a simple
_process
function:However, this could not pass the compilation. Here's the error output:
I'm not sure if I used it in a proper way, since I'm totally new to gdextension. I would like to ask how I fixed this problem or how I should use it. Thanks!
Steps to reproduce
Simply create a node with the
_process
function like this:Then try to compile.
Minimal reproduction project
Can provide my code if necessary.