Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
6model: headerize and CONST_STRING knowhow_bootstrapper
- Loading branch information
Reini Urban
committed
Mar 18, 2014
1 parent
d6c9ce0
commit 7f145f4
Showing
6 changed files
with
261 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,48 @@ | ||
PMC * SixModelObject_bootstrap_knowhow(PARROT_INTERP, PMC *sc); | ||
PMC * SixModelObject_setup_knowhow_attribute(PARROT_INTERP, PMC *sc, PMC *knowhow); | ||
/* 6model/knowhow_bootstrapper.h | ||
* Copyright (C) 2010-2011, The Perl Foundation. | ||
* Copyright (C) 2014, Parrot Foundation. | ||
*/ | ||
|
||
#ifndef PARROT_KNOWHOW_BOOTSTRAPPER_H_GUARD | ||
#define PARROT_KNOWHOW_BOOTSTRAPPER_H_GUARD | ||
|
||
/* HEADERIZER BEGIN: src/6model/knowhow_bootstrapper.c */ | ||
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */ | ||
|
||
PARROT_EXPORT | ||
PARROT_WARN_UNUSED_RESULT | ||
PARROT_CANNOT_RETURN_NULL | ||
PMC * SixModelObject_bootstrap_knowhow(PARROT_INTERP, ARGIN(PMC *sc)) | ||
__attribute__nonnull__(1) | ||
__attribute__nonnull__(2); | ||
|
||
PARROT_EXPORT | ||
PARROT_WARN_UNUSED_RESULT | ||
PARROT_CANNOT_RETURN_NULL | ||
PMC * SixModelObject_setup_knowhow_attribute(PARROT_INTERP, | ||
ARGIN(PMC *sc), | ||
ARGIN(PMC *knowhow)) | ||
__attribute__nonnull__(1) | ||
__attribute__nonnull__(2) | ||
__attribute__nonnull__(3); | ||
|
||
#define ASSERT_ARGS_SixModelObject_bootstrap_knowhow \ | ||
__attribute__unused__ int _ASSERT_ARGS_CHECK = (\ | ||
PARROT_ASSERT_ARG(interp) \ | ||
, PARROT_ASSERT_ARG(sc)) | ||
#define ASSERT_ARGS_SixModelObject_setup_knowhow_attribute \ | ||
__attribute__unused__ int _ASSERT_ARGS_CHECK = (\ | ||
PARROT_ASSERT_ARG(interp) \ | ||
, PARROT_ASSERT_ARG(sc) \ | ||
, PARROT_ASSERT_ARG(knowhow)) | ||
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */ | ||
/* HEADERIZER END: src/6model/knowhow_bootstrapper.c */ | ||
|
||
#endif /* PARROT_KNOWHOW_BOOTSTRAPPER_H_GUARD */ | ||
|
||
/* | ||
* Local variables: | ||
* c-file-style: "parrot" | ||
* End: | ||
* vim: expandtab shiftwidth=4 cinoptions='\:2=2' : | ||
*/ |
Oops, something went wrong.