Package de.intarsys.nativec.api
package de.intarsys.nativec.api
This is the main package of the native c component.
Here we define the API's and the VM singleton access to native c.
The component itself was built, as we didn't (once again) find anything around that satisfied our needs. We wanted:
- Clean, layered design
- Unrestricted access to all modeled objects and concepts.
- Easy adaption and integration with other views. This means primarily unrestricted access to pointers. There is no use in a native library if i can't bootstrap with a simple address (in our point of view).
- Clean design for c data structures (primitive, composites and references)
- Exchangeable native implementation
- Platform independence
- Pointer size was not really an issue
- We didn't care about byte order
-
ClassDescriptionA plain Java object representing a platform long.Wrapper class to indicate use of a "wide" string on native side.The representation of a native function.A "handle" to a piece of memory (in c space).The abstraction of a generic interface to c native code.A native library (DLL or shared library).IValueHolder<T>Generic interface for objects holding references to others.Access the VM singleton for
INativeInterface.Tool class for for dealing with the native framework.A object holding nothing but a value This can easily be plugged in for aIValueHolder.