Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A aml
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • argo
  • aml
  • Issues
  • #31

Closed
Open
Created Apr 01, 2019 by Swann Perarnau@perarnauOwner

Refactor the API to have consistent create/destroy functions

The current master doesn't include any building block that requires varargs for init, except for tiling that could be redesigned to do without. The goal should be to refactor the API to provide:

  • create/destroy functions that take a struct building_block ** as input to alloc and init /finalize and free objects
  • init/fini functions that take a statically allocated buildingblock as input to initialize/finalize them These two function couple should not take ... lists of arguments, and we should keep the DECL macros around.

Extra:

  • vcreate/vinit functions that take va_list as arguments.
Edited Apr 01, 2019 by Swann Perarnau
Assignee
Assign to
Time tracking