Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: UpdateNodeTypeParser #1

Open
littleGnAl opened this issue Sep 11, 2023 · 0 comments
Open

Proposal: UpdateNodeTypeParser #1

littleGnAl opened this issue Sep 11, 2023 · 0 comments

Comments

@littleGnAl
Copy link
Contributor

littleGnAl commented Sep 11, 2023

The UpdateNodeTypeParser does the following things:

  • Change the return type of the functions
  • Change the parameters' type of the functions

Configuration like below:

UpdateNodeTypeParser:
  methods: # The key maybe call `functions`?
    - name: agora::rtc::IRtcEngine::joinChannel
      return_type: # The `return_type`'s keys match the `SimpleType` objects' keys
        name: void
        source: void
        kind: value_t
        is_const: true
        is_builtin_type: true

       parameters:
         - name: channelId
           type: # The `type`'s keys match the `SimpleType` objects' keys
             name: int
             source: int
             kind: value_t
             is_const: true
             is_builtin_type: true

Maybe feature in the future

  • Change the name of the parameters
UpdateNodeTypeParser:
  methods: # The key maybe call `functions`?
    - name: agora::rtc::IRtcEngine::joinChannel
      parameters:
         - name: channelId
           rename: intChannelId
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

No branches or pull requests

1 participant