Hi, Igor

I have a quick question. The @Native annotation can support passing
the reference of X10 object? For example, consider like this;
-------------------------------------
[Driver.x10]
@NativeCPPInclude("test.h")
@NativeCPPCompilationUnit("test.cc")
class Driver {
  public static def main(args: Array[String](1)) {
    var myClass:MyClass = new MyClass("a", "b");
    { @Native("c++","foo(myClass);") {} }
...
}
-------------------------------------
[MyClass.x10]
class MyClass {
   ...
}
-------------------------------------

Best regards,
Myoungkyu

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to