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

Use ObjectiveSharpie to keep P/Invoke in sync with libsass #54

Open
nschonni opened this issue Jan 21, 2017 · 1 comment
Open

Use ObjectiveSharpie to keep P/Invoke in sync with libsass #54

nschonni opened this issue Jan 21, 2017 · 1 comment

Comments

@nschonni
Copy link
Contributor

Haven't looked at this seriously, the idea seems interesting http://tirania.org/blog/archive/2017/Jan-18.html
This would probably depend on #53 landing too

@am11
Copy link
Contributor

am11 commented Jan 21, 2017

Interesting. Auto bindings works with simple getter/setter properties and methods. LibSass use cases get trickier with custom imports, custom headers and custom functions implementation where we map anonymous and concrete methods to C function pointers via delegates. I wonder how it would handle those?

I suppose, just like node-sass (static compile) and perl-sass (FFI), each feature of C-API needs hand-rolled implementation with .NET P/Invoke (FFI). Besides, we have already implemented most (if not all) of them, only couple of new / tiny features might be missing.

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

2 participants