| Poster | Thread |
zara
|  |
C support libraries Posted on 21-May-2026 7:13:01
| | [ #1 ] |
|
|
 |
Member  |
Joined: 26-Nov-2022 Posts: 31
From: Unknown | | |
|
| Hi,
just wanted to say I started making additions to the C library. Here's the source code of the first library : http://sf.net/p/libportc/
(v0.1.13) Last edited by zara on 21-May-2026 at 07:16 AM. Last edited by zara on 21-May-2026 at 07:13 AM.
|
|
| Status: Offline |
|
|
MEGA_RJ_MICAL
|  |
Re: C support libraries Posted on 21-May-2026 8:00:12
| | [ #2 ] |
|
|
 |
Super Member  |
Joined: 13-Dec-2019 Posts: 1428
From: AMIGAWORLD.NET WAS ORIGINALLY FOUNDED BY DAVID DOYLE | | |
|
| @zara
Quote:
int search_list_for_data(struct list *l, id search_data) { struct list *l2 = l; while(idcmp(l->void_data, search_data) != 0) if (l->next == NULL) return -1;
return 0; }
|
This is quality code friend zara, quality code.
But now please provide the function void create_castlevania_level(struct vampire *dracula)
PROVIDE IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/mega
_________________ I HAVE ABS OF STEEL -- CAN YOU SEE ME? CAN YOU HEAR ME? OK FOR WORK |
|
| Status: Offline |
|
|
OneTimer1
|  |
Re: C support libraries Posted on 21-May-2026 8:33:28
| | [ #3 ] |
|
|
 |
Super Member  |
Joined: 3-Aug-2015 Posts: 1498
From: Germany | | |
|
| @zara
Please post a readme or change-log on sourceforge listing the function with a short description of it. I don't know if people would like to download and inspecting the source for an overview. And please provide a short information about your license.
I once had an idea to do something similar, 'C' has poor string handling and functions like toupper() tolower() should also be available as string functions.
Functions for reading/scanning csv, xml or json might be a good idea too.
|
|
| Status: Offline |
|
|
DaveN
|  |
Re: C support libraries Posted on 21-May-2026 13:28:43
| | [ #4 ] |
|
|
 |
Member  |
Joined: 7-Mar-2003 Posts: 22
From: Grimsby, UK | | |
|
| @zara
I agree with your code is good. It`s making me feel like coding for the Amiga again :)
|
|
| Status: Offline |
|
|
alpyre
|  |
Re: C support libraries Posted on 25-May-2026 19:16:34
| | [ #5 ] |
|
|
 |
Member  |
Joined: 30-Oct-2008 Posts: 25
From: Samsun / Turkey | | |
|
| @zara
This meant absolutely zero sense to me. Especially cytpes.h. You just typedef signed types to unsigned types. And type of an id is a void pointer. WTF!?
You really should provide some proper readme for what this really is. |
|
| Status: Offline |
|
|
MEGA_RJ_MICAL
|  |
Re: C support libraries Posted on 26-May-2026 2:43:38
| | [ #6 ] |
|
|
 |
Super Member  |
Joined: 13-Dec-2019 Posts: 1428
From: AMIGAWORLD.NET WAS ORIGINALLY FOUNDED BY DAVID DOYLE | | |
|
| Quote:
alpyre wrote: @zara
This meant absolutely zero sense to me. Especially cytpes.h. You just typedef signed types to unsigned types. And type of an id is a void pointer. WTF!? |
Friend alpyre, I am glad zara's posted elicited the rational, logical response in at least someone else. See, temporarily dearest of my friends, this is Amigaworld's derangement syndrome in full effect:
someone, anyone showcases some pointless, completely amateurish nonsense (or below amateurish, like in this case) and others run to clap hands and encourage the author, because "that's what nice people do" I SUPPOSE.
Even with the garbage has nothing to do with Amiga, either. A shiny example just in this very thread:
Quote:
DaveN where the N is for "Nimrod" I think wrote:
I agree with your code is good. It`s making me feel like coding for the Amiga again :)
|
OBSERVE!!!! zara's previous exploit here https://amigaworld.net/modules/newbb/viewtopic.php?topic_id=45853&forum=9

FRIENDS!!!!!!!!!!!!! FOSTERING CREATIVITY THIS ISN'T!!!!!! All the opposite, this is rewarding lameness, laziness, punjabi-factory quality production as the new standards.
FIRE UP THAT AMITORRENT PRONTO!!! Download "Whiplash" (2014) and watch asap.
/MEGA!
Last edited by MEGA_RJ_MICAL on 26-May-2026 at 03:10 AM.
_________________ I HAVE ABS OF STEEL -- CAN YOU SEE ME? CAN YOU HEAR ME? OK FOR WORK |
|
| Status: Offline |
|
|
kriz
|  |
Re: C support libraries Posted on 26-May-2026 5:11:54
| | [ #7 ] |
|
|
 |
Regular Member  |
Joined: 20-Mar-2005 Posts: 251
From: No (R) Way | | |
|
| @zara
Why tar.gz an Amiga archive ? |
|
| Status: Offline |
|
|
kriz
|  |
Re: C support libraries Posted on 26-May-2026 5:12:51
| | [ #8 ] |
|
|
 |
Regular Member  |
Joined: 20-Mar-2005 Posts: 251
From: No (R) Way | | |
|
| @MEGA_RJ_MICAL
Yeah this is some "demo" of Castlevania and Python ? How useful :D |
|
| Status: Offline |
|
|