Skip to content

Add support for inline native methods.#46

Merged
dvander merged 2 commits intomasterfrom
methodmaps-inline-2
Jun 22, 2014
Merged

Add support for inline native methods.#46
dvander merged 2 commits intomasterfrom
methodmaps-inline-2

Conversation

@dvander
Copy link
Member

@dvander dvander commented Jun 22, 2014

This patch implements the syntax for inline native methods on methodmaps. For example:

methodmap Clam {
    public native Clam(a);
    public native ~Clam();
    public native int Size();
}

New-style declarations are forced for return values. They will be forced for the arg list and function body later on, after full inline method parsing is available.

This patch is a little gross since I ran out of error numbers, and had to shift up fatal errors from 120.

dvander added a commit that referenced this pull request Jun 22, 2014
Add support for inline native methods on methodmaps.
@dvander dvander merged commit 90e8607 into master Jun 22, 2014
@dvander dvander deleted the methodmaps-inline-2 branch June 22, 2014 08:58
dvander added a commit that referenced this pull request Nov 4, 2015
Additional checks for SMXv1 validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant