Ticket #1921 (new RFC)

Opened 4 years ago

Last modified 3 years ago

RFC: decorate all functions in src/platform.c with PARROT_EXPORT

Reported by: cotto Owned by: cotto
Priority: normal Milestone:
Component: core Version: 2.10.0
Severity: medium Keywords: platform, libparrot, newbie
Cc: Language:
Patch status: Platform:

Description

I propose that we add PARROT_EXPORT to all functions in src/platform.c (i.e. all functions in all files used to generate src/platform.c). This is necessary so that users of libparrot, in this case dynpmcs, can access platform-specific functions. The problem that brought this up was that the OS pmc couldn't access Parrot_get_user_id, but I can imagine this cropping up in other places too.

I've created a gci task for this and rfw plans to work on it, but I want to make sure I'm not missing anything before I merge into master.

Change History

in reply to: ↑ description   Changed 3 years ago by jkeenan

  • component changed from none to core

Replying to cotto:

I've created a gci task for this and rfw plans to work on it, but I want to make sure I'm not missing anything before I merge into master.

cotto,

There's no evidence that this was worked on during GCI. How shall we proceed?

Thank you very much.

kid51

  Changed 3 years ago by cotto

  • keywords libparrot, newbie added; libparrot removed

Others are free to work on it as tuits and/or the need arise. I don't think it's urgent, but if it suddenly becomes important it shouldn't be more than about a hour of work.

Note: See TracTickets for help on using tickets.