Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Generate APIs dynamically with tweaked.cc/index.json #1

Open
tomodachi94 opened this issue Dec 7, 2022 · 0 comments
Open

Generate APIs dynamically with tweaked.cc/index.json #1

tomodachi94 opened this issue Dec 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tomodachi94
Copy link
Member

tomodachi94 commented Dec 7, 2022

Is your feature request related to a problem? Please describe.
The custom standard library doesn't know which functions in APIs are real or fake.

Describe the solution you'd like
When the documentation for CC: Tweaked is built, it generates an index.json file. (This is available at https://tweaked.cc/index.json.) This file doesn't contain typings, but it does contain function names.

This wouldn't check for valid typings, but it would make catch a small class of bugs (mistyped function names).

Describe alternatives you've considered
Manually typing function names and types would be error-prone.

Additional context
Add any other context or screenshots about the feature request here.

@tomodachi94 tomodachi94 added the enhancement New feature or request label Dec 7, 2022
@tomodachi94 tomodachi94 reopened this Dec 7, 2022
@tomodachi94 tomodachi94 changed the title Generate APIs dynamically with tweaked.cc/index.json Generate APIs dynamically with tweaked.cc/index.json Jan 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant