FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

small Bug in Container.d

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
lulabad



Joined: 24 Apr 2008
Posts: 7

PostPosted: Thu Apr 24, 2008 7:14 am    Post subject: small Bug in Container.d Reply with quote

line 439 in Container.d
Code:
   public void foreac(GtkCallback callback, void* callbackData)
   {
      // void gtk_container_foreach (GtkContainer *container,  GtkCallback callback,  gpointer callback_data);
      gtk_container_foreach(gtkContainer, callback, callbackData);
   }

The function name must be foreach not foreac
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Thu Apr 24, 2008 11:39 am    Post subject: Reply with quote

The function can not be named foreach because it's a D keyword, most functions that have the same name as a D keyword have there last char striped.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group