godot-cpp icon indicating copy to clipboard operation
godot-cpp copied to clipboard

`print_line` is not available

Open aaronfranke opened this issue 1 year ago • 1 comments

Godot version

Godot 4.3-stable

godot-cpp version

master b93d6e887e98d5f55e77883950032da9675c405d

System information

macOS 14.6.1 arm64

Issue description

print_line("test");

This line compiles in engine code, but does not compile in godot-cpp:

error: use of undeclared identifier 'print_line'
   15 |         print_line("test");
      |         ^
1 error generated.

Steps to reproduce

Add print_line("test"); to a GDExtension godot-cpp project and try to compile it.

Minimal reproduction project

I'm not gonna bother including a minimal reproduction project since it's one line of code.

aaronfranke avatar Sep 18 '24 16:09 aaronfranke