From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Some dynamic module questions Date: Fri, 27 Nov 2020 13:01:55 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3182"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Emacs developers To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 27 13:03:22 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kicTB-0000iZ-Hv for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Nov 2020 13:03:21 +0100 Original-Received: from localhost ([::1]:60398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kicTA-0004lu-Hy for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Nov 2020 07:03:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kicRu-0003yC-Au for emacs-devel@gnu.org; Fri, 27 Nov 2020 07:02:02 -0500 Original-Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:47071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kicRs-0002SI-JO for emacs-devel@gnu.org; Fri, 27 Nov 2020 07:02:02 -0500 Original-Received: by mail-ej1-x62a.google.com with SMTP id bo9so7190947ejb.13 for ; Fri, 27 Nov 2020 04:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=gtiDU45V984IeykScnhRY20MxpdtHtsSvQNs/ube59I=; b=l6gpx7sNAjfwI6qgVOIutY4n9xjkt6H/pYv1jNWUOsqCoe95X9TMlUI/+tzJeSF2HE uHXKwrNo7NruuyRV2QYKBm5+1wgp3RGs20nBmf8xnF4GkuaZ82N6rswgySxGggl24OHg uuti7N6HfwS7dWaSgj82MEnOaPQCacHfwJkNtLEGC6r5yuqb46CdFiaP2yAsJMxtzcFz NMm9E8mLuxfM5bG/ClxPVRBGdif1xGslzGPbdbLIrE2Ik7tRPHw1DQv0cUJ7e7KIVNhj 3xtUE5wHsmfxGT61I/ZgQY1Ra/Ac57W7SQFIB1WjXpw+5mFWKJjt3stOZeBlh5jxJmEF mjSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=gtiDU45V984IeykScnhRY20MxpdtHtsSvQNs/ube59I=; b=rLqUkq8iSdoGioK+5Ub7bX4HaimBEsAwDvyqqu8+sbhELtAHere9D18JK80rxydKdw dYv5VogQzS6KFb181ntsWByOO3VwSqsB8SNoJmtFilLF0+IMSHsoZRgKZtgxrnbxe6D5 AfrZIJWdjZfY6YOqb3wAF/kb1zhzZXkxisYSh+nd5ecXcwwZrosfGKN+Mf5IhY6Fjtli zV9dPb6a/A0kxlr7fVJOnxu4KXITibbxJ6JnGvhqYTfFflcenbMYD31oWEuw77h8qRwR tg9L5CTny2JuO3+Ra4TSNNC6WZ/7pDEuUoxQQYz+ICPRSs9MM3NlNsCxLpNQ3NTvfgno dGTQ== X-Gm-Message-State: AOAM533onn+/hGATNzzejRkh0VhTXvUk5pBy9W21db4owojd3fcP936m cfyfPofY6DU/Wsq96Ox6+ViP0z/wxH4= X-Google-Smtp-Source: ABdhPJyO2wSZLyUOZIDapDwZHiKoov7MPR1MTqZcXBuKBEqM+pJpmpEklTTvO8Pp4z6TM7cemdxImA== X-Received: by 2002:a17:906:4698:: with SMTP id a24mr7334753ejr.90.1606478517809; Fri, 27 Nov 2020 04:01:57 -0800 (PST) Original-Received: from caladan ([92.243.146.180]) by smtp.gmail.com with ESMTPSA id k17sm4620945ejj.1.2020.11.27.04.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 04:01:56 -0800 (PST) In-Reply-To: (Philipp Stephani's message of "Fri, 27 Nov 2020 12:50:34 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259874 Archived-At: On Fri, Nov 27 2020, Philipp Stephani wrote: > Am Fr., 27. Nov. 2020 um 11:47 Uhr schrieb Helmut Eller > : >> >> 1. Is there some way to pass unibyte-strings to module functions? > > Emacs 28 will have a make_unibyte_string function. Before that, you > have to resort to calling the unibyte-string function directly. But that's only for passing bytes from C to Lisp. What about the other direction? Will there be something like copy_unibyte_string_contents? Or preferably something that doesn't need copying and just gives a const char* pointer to the bytes. Helmut