public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Panicz Maciej Godek <godek.maciek@gmail.com>
To: kawa@sourceware.org
Subject: Environment initialization on Android
Date: Mon, 31 Oct 2022 11:51:22 +0100	[thread overview]
Message-ID: <CAMFYt2ZMnPFJwj5SNsPQAYJgFO6x0Kizp_pwVCFw59C99AxaDA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

I've been fiddling with an Android app built with Kawa, and running Kawa,
and I've noticed something weird:

when I make a "global definition" (in the module containing the definition
of Android's activity), then the object bound to a given name is a null -
if it's a 'compound object' (like StringBuilder or parameter object, or an
object created by define-simple-class). But there are some exceptions: if I
use objects such as an integer number or a string, then dereferencing them
yields the right values.

My bet is that there must be some difference between JVM and Android - and
that perhaps I need to initialize something manually in order to have
access to the compound objects.

Can anyone help?

The current source file of my app is here:

https://github.com/panicz/grasp-android/blob/master/stages/retreat/GRASP/src/grasp-android.scm

             reply	other threads:[~2022-10-31 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 10:51 Panicz Maciej Godek [this message]
2022-10-31 16:25 ` Per Bothner
2022-11-02  8:10   ` Panicz Maciej Godek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMFYt2ZMnPFJwj5SNsPQAYJgFO6x0Kizp_pwVCFw59C99AxaDA@mail.gmail.com \
    --to=godek.maciek@gmail.com \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).