Skip to content

Update Generator & Added Nested Namespace Support - #2087

Merged
mattleibow merged 7 commits into
mainfrom
dev/update-generator
May 30, 2022
Merged

Update Generator & Added Nested Namespace Support#2087
mattleibow merged 7 commits into
mainfrom
dev/update-generator

Conversation

@mattleibow

@mattleibow mattleibow commented May 30, 2022

Copy link
Copy Markdown
Collaborator

Description of Change

Dependencies need updating as well as more support for "more advanced" namespaces.

The .json file in the bindings folder now supports nested namespaces:

// configuration for the libSkiaSharp binary
{
  "dllName": "SKIA",
  // the root namespace
  "namespace": "SkiaSharp",
  "namespaces": {
    // typical prefix replacement using the root namespace
    // implicit ` "cs": "" `
    "sk_": {
      "prefix": "SK"
    },
    // replacement of using the type suffix for a nested namespace
    "sksg_": {
      "cs": "SceneGraph",
      "prefix": ""
    },
    "skottie_": {
      "cs": "Skottie",
      "prefix": ""
    }
  }
}

@mattleibow

Copy link
Copy Markdown
Collaborator Author

/azp run SkiaSharp

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@mattleibow mattleibow added this to the v2.88.1 milestone May 30, 2022
@mattleibow mattleibow self-assigned this May 30, 2022
@mattleibow mattleibow changed the title Update Generator Update Generator & Added Nested Namespace Support May 30, 2022
@mattleibow
mattleibow merged commit 7e5b555 into main May 30, 2022
@mattleibow
mattleibow deleted the dev/update-generator branch May 30, 2022 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant