Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
67 user(s) are online (53 user(s) are browsing Forums)

Members: 0
Guests: 67

more...

Support us!

Headlines

 
  Register To Post  

What happened to "LINECMP_GetClass" inside IDiffView?
Quite a regular
Quite a regular


See User information
I have some code that I am trying to build and it uses the function
LINECMP_GetClass()

through the
IDiffView

interface.

I get an undefined reference to this function which seems to make sense since I cannot see it in my SDK at all.

...

Maybe I will have a look through the old SDKs.


Edited by rjd324 on 2022/12/22 4:58:36
Go to top
Re: What happened to "LINECMP_GetClass" inside IDiffView?
Amigans Defender
Amigans Defender


See User information
@rjd324

Possibly has been removed. The XYZ_GetClass() functions, originally used in ReAction to obtain the class pointer, are now obsolete because you're expected to open BOOPSI classes via IIntuition->OpenClass(), which gives you the class pointer as well as the class library base.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: What happened to "LINECMP_GetClass" inside IDiffView?
Quite a regular
Quite a regular


See User information
Right, so I guess I will have to build with an older SDK.

Go to top
Re: What happened to "LINECMP_GetClass" inside IDiffView?
Amigans Defender
Amigans Defender


See User information
@rjd324

Quote:
so I guess I will have to build with an older SDK.

Or open the classes with OpenClass() instead of OpenLibrary().

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: What happened to "LINECMP_GetClass" inside IDiffView?
Quite a regular
Quite a regular


See User information
I cannot actually find this function even as far back as 53.30.

Is it external to the SDK? I also cannot find any Reaction sources on AmiNet/OS4Depot.

Go to top
Re: What happened to "LINECMP_GetClass" inside IDiffView?
Just can't stay away
Just can't stay away


See User information
@rjd324

Quote:

I cannot actually find this function even as far back as 53.30.


Are you referring to OpenClass()/CloseClass() functions? If so they've been in intuition.library since the AmigaOS 4.0 pre-releases according to the autodoc.

Go to top
Re: What happened to "LINECMP_GetClass" inside IDiffView?
Quite a regular
Quite a regular


See User information
I am referring to an application that literally:
IDiffView->LINECMP_GetClass();

and uses it in the way described in the only entry for "LINECMP_GetClass()" in the SDK.

For this to work the symbol must exist somewhere or be redefined to something else. When I search in the SDK, entire, for "LINECMP_GetClass", the only thing I see is a match to a documentation file and some example files. Hence, I receive an undefined reference.


Edited by rjd324 on 2022/12/22 13:38:51
Go to top
Re: What happened to "LINECMP_GetClass" inside IDiffView?
Just can't stay away
Just can't stay away


See User information
@rjd324

I assume there is some code like:
struct Object *obj NewObjectTags(IDiffView->LINECMP_GetClass(), NULL, ..., TAG_END)


If so just replace it with:
struct Object *obj NewObjectTags(NULL"linecmpgclass", ..., TAG_END)

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1
Pegasos2
X5000
X1000
A1222
Sam 440/460
Classic PowerPC Amiga
WinUAE emulation
Qemu emulation
Total Votes: 177
The poll will close at 2025/12/1 12:00
4 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project