Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

RameshRavone
Copy link
Contributor

No description provided.

README.md Outdated
* How to register exports like gdscript
* export var _name = "SimpleClass"
**/
register_property((char *)"base/name", &SimpleClass::_name, Variant("SimpleClass"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value must have the se type as the member pointer but here it's Variant. If it is a String then you must put a String there

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, was really in hurry, you should wait until godot_header README is updated as creating .gdns is left out.

Building core/bindings, (`libgodot_cpp_core.so` , `libgodot_cpp_bindings.so`)
Building bindings in linux,(`libgodot_cpp_bindings.a`)
```
$ scons p=linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line isn't needed anymore as everything gets compiled at once.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure,

@karroffel karroffel merged commit 57a5d0c into godotengine:master Jul 26, 2017
mashumafi pushed a commit to mashumafi/godot-cpp that referenced this pull request Feb 3, 2023
pattlebass pushed a commit to pattlebass/grafic-gdextension that referenced this pull request May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants