I have to correct myself, there was no typo with ObjectToCSelfScoped().
That is just the name used in the structure. To invoked it you, you call
ObjectToCSelf() with two arguments. This function is quite heavily used in
the ooDialog code.

Rick

On Sat, Jan 26, 2019 at 4:30 PM Rick McGuire <object.r...@gmail.com> wrote:

>
>
> On Sat, Jan 26, 2019 at 3:53 PM Erich Steinböck <
> erich.steinbo...@gmail.com> wrote:
>
>> I'm working to bring rexxpg up to 5.0.
>> Latest doc builds can be found at
>> https://sourceforge.net/projects/oorexx/files/oorexx-docs/5.0.0beta/
>>
>> Two API sets still need to be added:
>>
>> *Variable Reference:*
>> GetObjectVariableReference, IsVariableReference,
>> SetVariableReferenceValue,
>>
>>
>> *I/O Redirection:*
>> IsErrorRedirected, IsInputRedirected, IsOutputRedirected,
>> IsRedirectionRequested, ReadInput, ReadInputBuffer, VariableReferenceName,
>> VariableReferenceValue, WriteError, WriteErrorBuffer, WriteOutput,
>> WriteOutputBuffer
>>
>> And there's a question regarding CSelf:
>> rexxpg documents ObjectToCSelfScoped, but this method actually cannot be
>> called - either a typo in oorexxapi.h or an intentional name clash with
>> ObjectToCSelf that I don't understand.
>>
> Several typos :-) I'll check in the fixed version as some as the build
> completes.
>
>
>> On the other hand, we have a GetCSelf method, which is undocumented in
>> rexxpg
>>
>
> It should be documented.
>
>>
>> This may be related to #692
>> <https://sourceforge.net/p/oorexx/feature-requests/692> Add a version of
>> GetCSelf API, but more details are welcome.
>>
> Yes, these are related to that feature, it turns out I had added them a
> long time ago, but never wrote the docs.
>
> GetCSelf() provides a method to the same access to the CSELF value as the
> CSELF argument option. It can only access a CSelf struction for the object
> that the current method is running on.
>
> ObjectToCSelf() and ObjectToCSelfScoped() can retrieve the CSelf structure
> from another object. The Scoped version identifies the class scope the
> CSelf variable should be retrieved from.
>
> Rick
>
>
>
>>
>> _______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to