emacs-devel
[Top][All Lists]
Advanced

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

Re: Dynamic modules: emacs-module.c and signaling errors


From: Paul Eggert
Subject: Re: Dynamic modules: emacs-module.c and signaling errors
Date: Tue, 24 Nov 2015 23:58:30 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Daniel Colascione wrote:
What's your alternative?

I don't have one right now. But surely a better API can be devised.

I agree that checking errors in return values is reasonable for things like 'open'. But memory allocation is so basic. Plus, the method for checking errors in the current API is awkward and confusing. It'd be a real turnoff to have to use it after each little step in one's program.



reply via email to

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