Fwd: NCI questions
saurabhgeek92 at gmail.com
Sat May 18 18:57:54 UTC 2013
Cc'ing the parrot-dev list,
Saurabh Kumar writes:
> I guess its time to list down the NCI bugs that we would need to fix.
> Considering a single function in oid.h, the existing function signature
> of one of the functions is:
> GIT_EXTERN(void) git_oid_fmt(char *out, const git_oid *id);
> The current git2.nci file lists this as the def:
> v git_oid_fmt p # git_oid_fmt
> while the perl script generates this:
> v git_oid_fmt v # git_oid_fmt
> So I'm guessing that the current improvements this would need are:
> 1) Making sure that both parameters are correctly parsed.
> 2) char* should map to p
> 3) git_oid type is just a unsigned char, so I would need to add them
> to the translations too.
> 4) v should not be valid as a parameter type. There are a bunch of
> defs with v as parameters.
> Anything I missed?
> I'm reading this for docs, and there are many things I am sort of
> fuzzy about. What are PMC? What do I need to look out for while
> mapping things to p?
> : http://libgit2.github.com/libgit2/#HEAD/type/git_oid
> : http://docs.parrot.org/parrot/devel/html/docs/pdds/draft/pdd16_native_call.pod.html
More information about the parrot-dev