php source q's

From: Date: Sun, 24 Jul 2005 11:39:17 +0000
Subject: php source q's
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1467@lists.php.net to get a copy of this message
how to grab an array passed as an argument ,& convert it to the correct type ? Yes I did look at the php documentation but totally confused .. there are a few Dialog functions that could be cleaned up if only I had a clue what I was doing ;) ... e.g. I want to learn /*********************************************************/ static PHP_METHOD(GtkAboutDialog, set_documenters) {
        gchar *doccers[] = {
                         "Andrei",
                         "Steph",
                         "Christian",
                         "Scott...etc",
                          NULL
                         };
        zend_bool free_doccers;
gtk_about_dialog_set_documenters(GTK_ABOUT_DIALOG(PHPG_GOBJECT(this_ptr)), doccers);
        if (free_doccers) g_free(doccers);
} /*****************************************************/ The above works in as much that the doccers array is successfully passed to the dialog (and the credits button appears) , I think I have ints worked out ~ but what is the process for grabbing an array argument & then converting to the expected type ?gchar**? Regards, Simon.

« previous php.gtk.dev (#1467) next »