emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-module.c, eassert, and nonnull args


From: Philipp Stephani
Subject: Re: emacs-module.c, eassert, and nonnull args
Date: Sun, 11 Jun 2017 13:50:03 +0000



Eli Zaretskii <address@hidden> schrieb am Mo., 5. Juni 2017 um 17:34 Uhr:
> From: Philipp Stephani <address@hidden>
> Date: Mon, 05 Jun 2017 13:56:57 +0000
> Cc: Emacs Development <address@hidden>
>
> * src/emacs-module.c (assert_main_thread, assert_runtime, assert_env)
> (assert_value): New functions to assert module requirements.

I'd prefer to have these functions called module_assert_SOMETHING.


Here's a new patch. It makes this change, and also changes the allocation slightly so that objects have unique addresses (useful for checking). 

Attachment: 0001-Implement-module-assertions-for-users.txt
Description: Text document


reply via email to

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