Skip to content

Support Artifact Watcher Function Argument Names #46

@Flipout50

Description

@Flipout50

The code commented out below should work but it needs to be executed when the ProgramChangeRecord indicates a change to function argument names. Its current position isn't correct. Likely this is a subEventType of a function event, but the exact details need to be figured out so that this code can be called at the correct time.

# TODO: Fix argument name support
#changed_arg = FunctionArgument(None, newValue, None, None)
#header = FunctionHeader(None, None, args={None: changed_arg})
#self._interface.function_header_changed(header)
pass

As an additional note, on this line:

#header = FunctionHeader(None, None, args={None: changed_arg})

We can't use None as the key, it will require a real offset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions