Hi,

i was in a mood of making some overhauls..
so as result i refurbished a type system a bit..
removed all bogus C-like class names , e.g. NBUnsignedIntType ...

and replaced them with nice and uniform names, like  NBUInt32, NBInt16 etc.
(thanks Marten Feldtmann for an idea)

A uniform type aliases for these types also added:

                int8 NBInt8
                uint8 NBUInt8
                int16 NBInt16
                uint16 NBUInt16
                int32 NBInt32
                uint32 NBUInt32
                int64 NBInt64
                uint64 NBUInt64

the rest of C integer types are actually aliases of the above.

And some new features:

- finally spent time for implementing support of 64-bit integer types.
(strangely over 2 years nobody needed them ;)


- added a bunch of uniform accessors to ByteArray and NBExternalAddress.

But please avoid heavily depending on using them right now, before we
decide whether they should use uniform indexing,
or stay 1-based index for byte arrays, but 0-based indexes for
external addresses.
And if we decide to have them uniform, should they use 1-based or
0-based indexing.


May be force with you.

P.S. The configuration is freshly-baked, i didn't even checked if it
loads cleanly or not..
so, i don't recommend updating it in image with your precious code :)

Special instruction to load NB for Stef:

Gofer it
  squeaksource: 'NativeBoost';
  package: 'ConfigurationOfNativeBoost';
  load.

(ConfigurationOfNativeBoost project version: '1.4' ) load



P.P.S. i would really like some help with testing what i did,
including writing some more tests to cover type system more
broadly (now since type names follow certain naming rule, many
different types can be checked without much coding)

-- 
Best regards,
Igor Stasenko.

Reply via email to