slang-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] slang 2 development snapshot released


On Mon, 4 Oct 2004 01:37:43 -0400, "John E. Davis" said:
> 
> A development snapshot of slang 2 is available from
> <ftp://space.mit.edu/pub/davis/slang/2.0-devel/slang-pre2-r0.tar.gz>.

I tried compiling my gdbm module with it, but I'm getting some errors:

gdbm.c: In function patchup_intrinsic_table':
gdbm.c:1032: warning: assignment from incompatible pointer type
gdbm.c: In function register_gdbm_type':
gdbm.c:1060: dereferencing pointer to incomplete type

In gdbm.c:

1056   if ((-1 == SLclass_set_destroy_function (cl, destroy_gdbm))
1057       || (-1 == SLclass_set_aget_function (cl, _SLgdbm_aget))
1058       || (-1 == SLclass_set_aput_function (cl, _SLgdbm_aput)))
1059     return -1;
1060   cl->cl_foreach_open = cl_foreach_open;
1061   cl->cl_foreach_close = cl_foreach_close;

Comparing the slang.h with the one for v1, I see the typedef for
SLang_Class_Type has been replaced with
typedef struct _SLang_Class_Type SLang_Class_Type;

Presumably the idea is that you should use SLclass_set_*_function()
but I don't see a SLclass_set_foreach_open_function().

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]