Skip to content

print_line is not available #1596

Closed

Description

@aaronfranke

Godot version

Godot 4.3-stable

godot-cpp version

master b93d6e8

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.

Activity

  1. dsnopek commented on Sep 18, 2024

    @dsnopek
    Collaborator

    Thanks!

    This one should be fairly easy to fix. We've already got UtilityFunctions::print() - I think we could just add a hand-written print_line() function that calls it.

  2. added
    enhancement
    on Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions