slang-users mailing list

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

Re: foreign references and operator overloading


Dave Greve <dagreve@xxxxxxxxx> wrote:
>  I notice, however, that there is already a SLANG_FILE_PTR_TYPE
>defined in slang.h that is used in the creation of File_Type objects.
>If I am adding new types, do I just randomly choose a new SLANG_XXX_TYPE
>from the available values and use that?  Or is there another more
>standard way of extending the "type" system?

Numbers below 128 are reserved by slang.  You can use, e.g.,

    #define BIGNUM_TYPE 128

and use it.

--John


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