[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]pnetlib development

From: Daniel Carrera
Subject: Re: [DotGNU]pnetlib development
Date: Tue, 26 Mar 2002 19:42:14 -0500 (EST)

I'm in the same boat as you.  I think I have figured much of it out:

The runtime implements several comonents of C# ('if', 'else', '==', etc).
We use these, as well as previously-written libraries to make the remainig

The ECMA specs say that all objects inherit from the System.Object class
and that this class has an Equals Method.  Therefore we write the file

A portion of this file is:

public static bool Equals(Object objA, Object objB)
                if(objA == objB)
                                return true;
                else if(objA != null && objB != null)
                                return objA.Equals(objB);
                                return false;

You can see how we have used the stuff that already existed to create the
Equals method.

I don't understand the return objA.Equals(objB), but I probably would if I
knew C#.  Maybe it's there in the event that the user has made his own
Equals method.  I don't know.

I would really like to know exactly what methods will be available from
the runtime so I can use them when making libraries.  Maybe one of the
senior members of this list can help me out.


On Tue, 26 Mar 2002, Brandon Bremen wrote:

> Hmm. I just realized that I need to look at the HACKING file. And I
> tracked down where I read that and noticed that Gopal said he is writing
> up a FAQ. So, I guess that will answer my questions.
> > Are there any guides to writing the libraries for pnetlib? Someone
> > mentioned that all one needs to know to start working on the libraries
> > is OOP, and perhaps C# or java. Well, I think I could help but I can't
> > figure out where to start first! I guess I need to look at the pnetlib
> > status etc. and find a part that isnt being worked on. Then I need to
> > look at the EMCA specs. But what next?
> >
> > _______________________________________________
> > Developers mailing list
> > address@hidden
> >
> >
> _______________________________________________
> Developers mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]