Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
camlp4 and class introspection
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: camlp4 and class introspection
Is it possible to add code to a class's initialization section using  

I would like to introspect the class definition to print instance  
variable names and types. Then I would like to introspect the methods.

If anyone could give an example of how this is done with camlp4 3.10  
I would really appreciate it!

To explain a bit, I would like to make sure that each defined class  
is registered with the Objective-C runtime, only once, not per object  

	Thanks, Joel

--      - EasyLanguage to C# translator  - Blog