How to create class methods?

From: Charles Iliya Krempeaux <tnt_at_linux.ca>
Date: 02 Nov 2001 23:58:19 -0800

Hello,

I know I'm probably just missing this in the documentation, but,
how do you create "class functions".

Writing something like:

    class Some:Thing from G:Object {

    ...

        public
        void example_func(self)
        {
            ...
        }

    ...

    }

has it so that function translates into:

    void some_thing_example_func(SomeThing * self)

But this is not what I want. I want a function:

    void some_thing_class_example_func(SomeThingClass * self)

My guess is that maybe you put "classwide" in front of
it... but I'm just guessing. How do you do that?

Oh, BTW, if it matters, I'm using version 1.99.1 (a.k.a. GOB2).

Thanks

     Charles Iliya Krempeaux
     tnt @ linux.ca
     ckrempea @ alumni.sfu.ca
Received on Sat Nov 03 2001 - 02:53:41 CST

This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:05:02 CDT