emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tree-sitter api


From: Tuấn-Anh Nguyễn
Subject: Re: Tree-sitter api
Date: Sat, 11 Sep 2021 10:41:41 +0700

> Just realized another problem, how do we make sure the loaded library is 
> GPL-compatible?

This question is rather non-technical, so I can't provide any comments.

> There certainly won’t be “plugin_is_GPL_compatible” symbol in them… And IIUC 
> Emacs cannot load GPL-incompatible dynamic libraries?

That's one of the reasons for using `dynlib.h` APIs directly. The check for
that symbol is at the level of `emacs-module.c`. Let's not conceptually
conflate a "shared library" and an "Emacs dynamic module".


-- 
Tuấn-Anh Nguyễn
Software Engineer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]