From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Tai Newsgroups: gmane.lisp.guile.user Subject: G-Golf - how to access gtk APIS that take lists of arguments ending with null ptr Date: Tue, 19 Jul 2022 09:38:53 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37287"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Jul 19 18:39:52 2022 Return-path: Envelope-to: guile-user@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 1oDqGG-0009VQ-Qn for guile-user@m.gmane-mx.org; Tue, 19 Jul 2022 18:39:52 +0200 Original-Received: from localhost ([::1]:48008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDqGF-0002l0-Or for guile-user@m.gmane-mx.org; Tue, 19 Jul 2022 12:39:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDqFw-0002ks-No for guile-user@gnu.org; Tue, 19 Jul 2022 12:39:32 -0400 Original-Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:38570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDqFu-0007Ly-MH for guile-user@gnu.org; Tue, 19 Jul 2022 12:39:32 -0400 Original-Received: by mail-io1-xd35.google.com with SMTP id e69so4738306iof.5 for ; Tue, 19 Jul 2022 09:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=DylYkppwt2mV7mJNJrr+cYcdChdRg6CzWGeyp9u63Sw=; b=OPGCpDJcqBchL165BPNUKhXphUSuH9mKDSmEvl75yiY6l4B5AG9TEMj4q1KPNmN1H+ Cc6OeUbSPejhyLXpdYS6tcDSbbLyZvWB9ta8D97RRccYTwyNWMAFcjaK6H8kJK5UZvVL WzOqRk/1lQMYxQZH6ZXKeRaqyCXSky5q4zGmgJ7VUV8MWFWmea8tJT3bx4DhmDWZBXDS O3XqZW7OLmsQzXpN5sOX3YFpV/ZT4a4a2qzL/4gCiTjUcABQ1Z4TeKQ2dIZ6UVvXrzZb 1wj6/IAMEdBA2ES7Ze7xxPuFeGIbp/yazXc7kD2+jI4wwWuKgUaggn1C7Uq6+9DgKc8x IeFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DylYkppwt2mV7mJNJrr+cYcdChdRg6CzWGeyp9u63Sw=; b=ZaCZ0xKSIbC4ATXxNNU4AF9p8Re2L+32SZv9z3Lroo8wntkq5uzGLGovvKcTYSb9rA wJYCvy14Vy13GlRGJykh8KOo2zpIYcE5N4Du3JcI9HbqUpYwqf2OdAB1vURQSXzvuCsF 6ik7klhh39nfBMXrsZ5CL5MGSCiPvr7NxdkgcmcO7U+S/t2Oz2dV+KBG0vxXQMjylnff ObPlfgolMxjXXi2H6qJC9m0vn1GJk1M0CAwLeEDqyjhqAh9VRFDwZMksJHLK5sDbF9LB o0lGaJ6zd6AJ+K5HrUKf8F61shauVaQVZEmuy9nB5cb1Ad3UwuSKKXZLrQSnh+Xo29hg Izkg== X-Gm-Message-State: AJIora/Ln2V1tIBwv2EMATf6gjP3cY7NjimXUhYt2acq66Oc5W+8GfeD EU/knz0khnPEge6hYxW8ds7dH+JoKDbgvh7kScrYnFZWST0= X-Google-Smtp-Source: AGRyM1vI5tN6IHh/ouwgi1zgm/kNzPfCEHJIbF+PQsjXyyR4LEwQNY4lD+Zb3im+W71otyTkHHvphBTj/6T1gNrnju8= X-Received: by 2002:a02:c006:0:b0:33f:437d:6c3c with SMTP id y6-20020a02c006000000b0033f437d6c3cmr18153329jai.38.1658248768927; Tue, 19 Jul 2022 09:39:28 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::d35; envelope-from=lichengtai@gmail.com; helo=mail-io1-xd35.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18434 Archived-At: How to call gtk APIs such as (gtk+ 3) gint gtk_tree_view_insert_column_with_attributes (GtkTreeView *tree_view, gint position, const gchar *title, GtkCellRenderer *cell, ...); with arguments as list of attributes to end with a NULL? I tried to find this function name and it is not found at guile level after GI import. Thanks for info