From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28211 invoked by alias); 14 Sep 2006 17:53:05 -0000 Received: (qmail 28069 invoked by uid 22791); 14 Sep 2006 17:53:04 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Sep 2006 17:53:02 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k8EHr09k029029 for ; Thu, 14 Sep 2006 13:53:00 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k8EHr0wY030593 for ; Thu, 14 Sep 2006 13:53:00 -0400 Received: from opsy.redhat.com (IDENT:jPxN067+NVvlSDO8zc97BBf+QG+G7uLc@tooth.toronto.redhat.com [172.16.14.29]) by pobox.corp.redhat.com (8.13.1/8.12.8) with ESMTP id k8EHqwqr014032; Thu, 14 Sep 2006 13:52:59 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 09C0C5081E3; Thu, 14 Sep 2006 11:46:43 -0600 (MDT) To: Keith Seitz Cc: Java Patch List Subject: Re: [RFA/JVMTI] SetEventNotificationMode and SetEventCallbacks References: <44F8836D.90006@redhat.com> <4501BC17.9030103@redhat.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Thu, 14 Sep 2006 17:53:00 -0000 In-Reply-To: <4501BC17.9030103@redhat.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2006-q3/txt/msg00431.txt.bz2 >>>>> "Keith" == Keith Seitz writes: Sorry it took me so long to get back to this. Please feel free to ping me if my delays are blocking you. Keith> Hmm. Yeah, I suppose I could do something like that. Although I've Keith> tested this quite a bit, I'm not entirely sure the new cast in this Keith> function (check_enabled_event) is legal. Alas, gcc doesn't give any Keith> warnings on this. Could you please scrutinize this? Keith> + void (**callback)() Keith> + = reinterpret_cast (&e->env->callbacks) + index; This looks invalid to me though I don't have a reference to the standard for it. Could we use a pointer-to-member instead? Sorry to keep going around on this. Tom