some problems of when compiling IDL with dice tools
ra3 at os.inf.tu-dresden.de
Wed Jan 17 10:04:19 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
chenggh wrote on 17.01.2007 04:52 this:
> In the idl file i defined an interface including a function declaration like
> int foo([in] arg1, [in] void *( * start_routine)(void *), [in] arg2);
> My aim is to define a method which includes a function pointer I define the
> function name and function parameters by myself. But when I compile there is
> I checked out the dice manual there is nothing about how to deal with
> function pointer in idl file. Is this style supported by dice IDL ? If it
> supports how could I do?
No, don't do it!
Dice is an IDL compiler. IDL stands for Interface Definition Language.
And IDL is *NOT* the C programming language. Even though IDL looks
similar to C it is not C. So using function pointers as arguments in an
interface definition won't work.
Mit freundlichen Gruessen / with regards
ra3 @ inf.tu-dresden.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the l4-hackers