[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz] Re: [Gzz-commits] gzz/gfx/libcallgl callgl.cxx callgl.hxx
From: |
Tuomas Lukka |
Subject: |
[Gzz] Re: [Gzz-commits] gzz/gfx/libcallgl callgl.cxx callgl.hxx |
Date: |
Fri, 13 Sep 2002 20:42:16 +0300 |
User-agent: |
Mutt/1.4i |
On Fri, Sep 13, 2002 at 08:37:28PM +0300, Matti Katila wrote:
> On Fri, 13 Sep 2002, Tuomas Lukka wrote:
> >> ! /* vector<string> v = split(" asdf # asdffoo fasdf # fadasfd ");
> > Actually, why doesn't this method already remove the comments? So for
> > the above string, it would return
> > 0: asdf
>
> Because of the name 'split'. Otherwise it would be
> 'split_and_remove_comment'.
How about "tokenize"? That's a pretty common way of describing the thing.
It could even (gasp) handle the common end-of-line backslash.
> >> + // XXX
> >> + //#define USE_GL_EXTENSION_CALLS
> >> + #ifdef USE_GL_EXTENSION_CALLS
> >> +
> >> + } else if (checkfunc(v, "GetProcAddress", 1)) {
> >> + if (ext_check.isCallNameFound(v[1])) {
> > Ouch, I think you have misunderstood what I wanted to happen now.
> > Because the OpenGL routines *will* have interesting parameters,
> > we can't really do this, we have to declare them somewhere.
> > I don't want to do this from Java but to simply use glXGetProcAddress
> > for all those functions that are not part of core OpenGL v1.1.
> > For example, all the _NV methods are like that.
>
> Mmm.. ok, we _need_ to discuss about this.
Ok, what's unclear?
Tuomas