SourceForge has been redesigned. Learn more.
Close

#535 problem calling method of super class on OCaml module.

open
ocaml (4)
7
2006-10-08
2005-02-19
No

when calling method of super class, raise exception ' NoSuchClass
"class name" '.
This exception was raised by Swig.create_class function.
Hash table of class list (named
"class_master_list") is in use on this function.
but it appears that nothing (class) registered to class_master_list.
function was available (named
"register_class_byname") for register class , but it in use
nowhere.

Discussion

  • Wataru Gotoh

    Wataru Gotoh - 2005-02-19
    • priority: 5 --> 7
    • summary: problem calling method of super class. --> problem calling method of super class on OCaml module.
     
  • Wataru Gotoh

    Wataru Gotoh - 2005-02-26

    Logged In: YES
    user_id=886386

    Experimental patch.

    --- begin of patch ---
    Lib/ocaml/class.swg.orig Sun Feb 27 01:22:58 2005
    +++ Lib/ocaml/class.swg Sun Feb 27 00:56:42 2005
    @@ -60,6 +60,8 @@
    "create_$normalized_from_ptr"
    create_$classname_from_ptr

    +let _ = Swig.register_class_byname "$classname"
    create_$classname_from_ptr
    +

    (*Stream:mli*)
    val create_$classname_from_ptr : c_obj -> c_obj
    --- end of patch ---

     
  • William Fulton

    William Fulton - 2006-10-08

    Logged In: YES
    user_id=242951

    Art, are you around to look at this patch for the release
    later this week?

     
  • William Fulton

    William Fulton - 2006-10-08
    • assigned_to: nobody --> arty
     
  • Wataru Gotoh

    Wataru Gotoh - 2006-10-09

    correct patch. (commented patch was untainted re-form.)

     

Log in to post a comment.