rev 257 - trunk/src

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: mark
Date: 2004-04-02 01:52:52 -0500 (Fri, 02 Apr 2004)
New Revision: 257

Modified:
   trunk/src/builtins-core.c
   trunk/src/main.c
   trunk/src/object.c
Log:
WIn32 version not linking properly.

Modified: trunk/src/builtins-core.c
===================================================================
--- trunk/src/builtins-core.c	2004-04-02 06:26:58 UTC (rev 256)
+++ trunk/src/builtins-core.c	2004-04-02 06:52:52 UTC (rev 257)
@@ -69,6 +69,9 @@
  * the key for the start of the pointers to the functions for all the
  * builtins). */
 
+PR_PLACE_IN_SECTION(dll_initcall_t,start_dll_entry_ptr, "._module_init") = 0;
+
+
 MODULE_DECLARE(Object);
 MODULE_DECLARE(False);
 MODULE_DECLARE(True);
@@ -584,7 +587,7 @@
 	OBJ(DICT_PROTO)		= new_object(NULL);
 	OBJ(FUNC_PROTO)		= new_object(NULL);
 
-	OBJ(SYMBOLS)		= new_list_obj(SYM_ENUM_COUNT+20);
+	OBJ(SYMBOLS)		= new_list_obj(SYM_ENUM_COUNT+100);
 
 	init_symbol(ist);
 

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2004-04-02 06:26:58 UTC (rev 256)
+++ trunk/src/main.c	2004-04-02 06:52:52 UTC (rev 257)
@@ -75,8 +75,6 @@
 
 static apr_pool_t *apr_root_pool = NULL;
 
-PR_PLACE_IN_SECTION(dll_initcall_t,start_dll_entry_ptr, "._module_init") = 0;
-
 //**************************** get_pr_head_pool *******************************
 apr_pool_t* get_pr_head_pool(void) {
 	if (!apr_root_pool) {

Modified: trunk/src/object.c
===================================================================
--- trunk/src/object.c	2004-04-02 06:26:58 UTC (rev 256)
+++ trunk/src/object.c	2004-04-02 06:52:52 UTC (rev 257)
@@ -142,8 +142,8 @@
 	dll_services.del_attr		  = del_attr;		
 	dll_services.ins_proto		  = ins_proto;		
 	dll_services.del_proto		  = del_proto;		
-	dll_services.has_proto_QUES		  = has_proto_QUES;	
-	dll_services.switch_proto_to   = switch_proto_to;
+	dll_services.has_proto_QUES	  = has_proto_QUES;	
+	dll_services.switch_proto_to  = switch_proto_to;
 	dll_services.list_append	  = list_append;
 	dll_services.list_item		  = list_item;	
 	dll_services.list_len		  = list_len;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.