emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter api


From: Yuan Fu
Subject: Re: Tree-sitter api
Date: Sat, 11 Sep 2021 12:02:24 -0700


> On Sep 11, 2021, at 12:23 AM, Tuấn-Anh Nguyễn <ubolonton@gmail.com> wrote:
> 
>> I think you have it backwards. IIUC the reason why every Emacs dynamic 
>> module declares “plugin_is_GPL_compatible” is that every shared library that 
>> links with Emacs must be GPL compatible, and an Emacs dynamic module is a 
>> shared library. But that’s just my understanding, of course. I’m happy to be 
>> corrected.
> 
> That understanding is wrong. To help you understand better: every Emacs 
> dynamic
> module is a shared library, but the opposite is not true. If you are still
> confused, read the relevant parts in `emacs-module.c`. On another note, shared
> libraries in general don't "link" with Emacs. "Linking" has very specific and
> precise technical meanings in this context. Please read up on that, starting
> from "dynamic linking vs. dynamic loading.”

I see, thanks for the explanation. Anyway, I’m glad there isn’t an issue. 

Yuan




reply via email to

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