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

Move to SuperInvoke #61

Closed
Perksey opened this issue Oct 29, 2019 · 2 comments · Fixed by #111
Closed

Move to SuperInvoke #61

Perksey opened this issue Oct 29, 2019 · 2 comments · Fixed by #111

Comments

@Perksey
Copy link
Member

Perksey commented Oct 29, 2019

Fixes #60
Tracker Ultz/SuperTools#1

@Perksey Perksey added this to the 1.0 milestone Dec 30, 2019
@Perksey
Copy link
Member Author

Perksey commented Jan 17, 2020

Outdated, invalid comment SuperInvoke will not support generation of this static portion of the class, we'll have to write this manually:
        private SearchPathContainer _searchPaths;
        public override SearchPathContainer SearchPaths => _searchPaths ??= new GLCoreLibraryNameContainer();

        public GL(string path, ImplementationOptions opts)
            : base(path, opts)
        {
        }

        static GL()
        {
            LibraryLoader.CreateBuilder<GL>(Silk.NET.Core.Platform.SilkManager.Get<IGLSymbolLoader>());
        }

@Perksey
Copy link
Member Author

Perksey commented Jan 28, 2020

Permutators (bodyless overloaders)

  • Spans (for len>1 only)
  • Strings
  • Flow pointer (for len=1 only)
  • Static count

Other overloaders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant