cvs: embed /php-irssi ext-irssi.c php-irssi.h typemap.php

[email protected] ("Wez Furlong") Mon, 31 Mar 2003 20:16:50 -0000
Newsgroups php.embed.cvs
Message-ID <cvswez1049141810@cvsserver>
wez		Mon Mar 31 15:16:50 2003 EDT

  Modified files:              
    /embed/php-irssi	ext-irssi.c php-irssi.h typemap.php 
  Log:
  theoretically enable the massjoin signal
  
  
Index: embed/php-irssi/ext-irssi.c
diff -u embed/php-irssi/ext-irssi.c:1.19 embed/php-irssi/ext-irssi.c:1.20
--- embed/php-irssi/ext-irssi.c:1.19	Mon Mar 31 11:55:28 2003
+++ embed/php-irssi/ext-irssi.c	Mon Mar 31 15:16:50 2003
@@ -14,7 +14,7 @@
   +----------------------------------------------------------------------+
   | Author: Wez Furlong <[email protected]>                                    |
   +----------------------------------------------------------------------+
-  $Id: ext-irssi.c,v 1.19 2003/03/31 16:55:28 wez Exp $
+  $Id: ext-irssi.c,v 1.20 2003/03/31 20:16:50 wez Exp $
 */
 #include "php-irssi.h"
 #include "php-signals-list.h" /* generated by php during make */
@@ -207,6 +207,9 @@
 					break;
 				case PIAT_ARRAY_OF_STRING:
 					php_irssi_export_GList(val, (GSList*)args[i], PIAT_STRING TSRMLS_CC);
+					break;
+				case PIAT_ARRAY_OF_NICK:
+					php_irssi_export_GList(val, (GSList*)args[i], PIAT_NICK TSRMLS_CC);
 					break;
 				default:
 					ZVAL_NULL(val);
Index: embed/php-irssi/php-irssi.h
diff -u embed/php-irssi/php-irssi.h:1.8 embed/php-irssi/php-irssi.h:1.9
--- embed/php-irssi/php-irssi.h:1.8	Mon Mar 31 11:55:28 2003
+++ embed/php-irssi/php-irssi.h	Mon Mar 31 15:16:50 2003
@@ -14,7 +14,7 @@
   +----------------------------------------------------------------------+
   | Author: Wez Furlong <[email protected]>                                    |
   +----------------------------------------------------------------------+
-  $Id: php-irssi.h,v 1.8 2003/03/31 16:55:28 wez Exp $
+  $Id: php-irssi.h,v 1.9 2003/03/31 20:16:50 wez Exp $
 */
 
 #define MODULE_NAME "php/core"
@@ -51,6 +51,7 @@
 	PIAT_BOOL,
 	PIAT_WI_ITEM,
 	PIAT_WINDOW,
+	PIAT_ARRAY_OF_NICK,
 };
 
 struct php_irssi_signal_args {
Index: embed/php-irssi/typemap.php
diff -u embed/php-irssi/typemap.php:1.7 embed/php-irssi/typemap.php:1.8
--- embed/php-irssi/typemap.php:1.7	Fri Mar  7 04:35:29 2003
+++ embed/php-irssi/typemap.php	Mon Mar 31 15:16:50 2003
@@ -15,7 +15,7 @@
   +----------------------------------------------------------------------+
   | Author: Wez Furlong <[email protected]>                                    |
   +----------------------------------------------------------------------+
-  $Id: typemap.php,v 1.7 2003/03/07 09:35:29 wez Exp $
+  $Id: typemap.php,v 1.8 2003/03/31 20:16:50 wez Exp $
 */
 
 /* This array describes the functions that can be used to convert between
@@ -37,6 +37,7 @@
 	"unsigned int"	=> array("PIAT_INT", false),
 	"ulong"			=> array("PIAT_ULONG", false),
 	"GList * of char*" => array("PIAT_ARRAY_OF_STRING", false),
+	"GSList of NICK_RECs" => array("PIAT_ARRAY_OF_NICK", false),
 
 	/* aliases */
 	"STRUCT_SERVER_REC" => array("PIAT_SERVER", true),