Changeset 27085 in project


Ignore:
Timestamp:
07/21/12 00:24:36 (9 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [92.36.27.126]: Fix and adjustings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/bind

    r27018 r27085  
    5656 (require-extension bind coops cplusplus-object)
    5757 
    58  (bind "#include \"Foo.h\"")
    59  
    60  (define x (make-instance <Foo> 99))
     58 (bind* "#include \"Foo.h\"")
     59 
     60 (define x (new <Foo> 99))
    6161 (print (getX x))              ; prints ''99''
    6262 (setX x 42)
    6363 (print (getX x))              ; prints ''42''
    64  (destroy x)
     64 (delete x)
    6565
    6666Provided the file {{foo.o}} contains the implementation of the class {{Foo}}, the
Note: See TracChangeset for help on using the changeset viewer.