[svn:parrot] r40707 - in branches/context_pmc3: include/parrot src
bacek at svn.parrot.org
bacek at svn.parrot.org
Sat Aug 22 06:48:09 UTC 2009
Author: bacek
Date: Sat Aug 22 06:48:08 2009
New Revision: 40707
URL: https://trac.parrot.org/parrot/changeset/40707
Log:
Decorate context related functions with PARROT_EXPORT
Modified:
branches/context_pmc3/include/parrot/context.h
branches/context_pmc3/src/context.c
Modified: branches/context_pmc3/include/parrot/context.h
==============================================================================
--- branches/context_pmc3/include/parrot/context.h Sat Aug 22 06:37:59 2009 (r40706)
+++ branches/context_pmc3/include/parrot/context.h Sat Aug 22 06:48:08 2009 (r40707)
@@ -73,12 +73,14 @@
/* HEADERIZER BEGIN: src/context.c */
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
+PARROT_EXPORT
PARROT_CANNOT_RETURN_NULL
struct PackFile_Constant ** Parrot_ctx_constants(PARROT_INTERP,
ARGIN(PMC *ctx))
__attribute__nonnull__(1)
__attribute__nonnull__(2);
+PARROT_EXPORT
PARROT_CAN_RETURN_NULL
Parrot_Context* Parrot_ctx_get_context(PARROT_INTERP, ARGIN(PMC *ctx))
__attribute__nonnull__(1)
Modified: branches/context_pmc3/src/context.c
==============================================================================
--- branches/context_pmc3/src/context.c Sat Aug 22 06:37:59 2009 (r40706)
+++ branches/context_pmc3/src/context.c Sat Aug 22 06:48:08 2009 (r40707)
@@ -38,6 +38,7 @@
*/
+PARROT_EXPORT
STRING*
Parrot_ctx_get_string_constant(PARROT_INTERP, ARGIN(PMC* ctx), INTVAL idx) {
Parrot_Context const * c = Parrot_ctx_get_context(interp, ctx);
@@ -54,6 +55,7 @@
*/
+PARROT_EXPORT
PARROT_CAN_RETURN_NULL
PMC*
Parrot_ctx_get_pmc_constant(PARROT_INTERP, ARGIN(PMC* ctx), INTVAL idx) {
@@ -70,7 +72,7 @@
=cut
*/
-
+PARROT_EXPORT
PARROT_CANNOT_RETURN_NULL
struct PackFile_Constant **
Parrot_ctx_constants(PARROT_INTERP, ARGIN(PMC *ctx)) {
@@ -89,7 +91,7 @@
=cut
*/
-
+PARROT_EXPORT
PARROT_CAN_RETURN_NULL
Parrot_Context*
Parrot_ctx_get_context(PARROT_INTERP, ARGIN(PMC *ctx)) {
More information about the parrot-commits
mailing list