realbasic-plugins
[Top] [All Lists]

Re: Can't overload a function in a plugin, but can in RB?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Can't overload a function in a plugin, but can in RB?
From: Alfred Van Hoek <vanhoek at mac dot com>
Date: Sat, 29 Jan 2005 13:13:32 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
on 1/29/05 12:03 PM, Theodore H.Smith at delete at elfdata dot com wrote:

> What's up?

In rb object and app are unambiguous, however, in C, an object is a
REALobject, an app is a REALobject and since you want to treat the integer
as an object too, (I read it as a Variant) the integer is a REALobject as
well... 

Short of knowing your c-code, and presuming you are using dynamic access,
you'll need to create an api in C (create for example c++ classes that mimic
rb's class hierarchy) to be able to overload.

Alfred

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>