Skip to content

Change AS api reference to properly document function declarations #120

@TheEnderek0

Description

@TheEnderek0

Currently, some declarations of functions are wrong.
Example: string& operator=(const string&in str) on the string type.

Function declarations should show the usage of functions in AngelScript, not whatever is going on here.
If you want readable function names, the name above the function should be changed to a custom one, not the function declaration, which later leads to confused users because the = operator doesn't translate to operator= in angelscript, rather opAssign.

Original:
Image

Improvement suggestion:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions