Giter Site home page Giter Site logo

Comments (11)

wc-duck avatar wc-duck commented on August 17, 2024

Agreed... Same goes for arrays of arrays. A temporary workaround is creating a strict holding onli the pointer, not nice but that should work right now.

from datalibrary.

wc-duck avatar wc-duck commented on August 17, 2024

Does closing issue #28 solve this for you?

from datalibrary.

lundmark avatar lundmark commented on August 17, 2024

I'm not sure what #28 does :P So I don't know.

Does it allow you to have an array of pointers of types that are not in the DL-library?

from datalibrary.

wc-duck avatar wc-duck commented on August 17, 2024

Nope... Only types defined in dl. I really do not know how to handle types not known by DL?

from datalibrary.

lundmark avatar lundmark commented on August 17, 2024

from datalibrary.

wc-duck avatar wc-duck commented on August 17, 2024

But what would happen if you try to pack a struct with such a ptr? The only valid solution would be to force them to be null since dl can't pack something it do not know about.
And how do you even void-declare them today? As far as I know that isn't possible?

from datalibrary.

lundmark avatar lundmark commented on August 17, 2024

from datalibrary.

wc-duck avatar wc-duck commented on August 17, 2024

If you just want placeholders I don't see why you can't keep that in a separate struct at the side and I don't think dl is the proper place to solve the issue.
You might be able to convince me by a usecase, but I'm doubtful.

from datalibrary.

lundmark avatar lundmark commented on August 17, 2024

Hmm maybe it was just being able to have a variable to be a list of pointers of a type that is supported by dl?

from datalibrary.

wc-duck avatar wc-duck commented on August 17, 2024

That should be supported since last night :)

from datalibrary.

lundmark avatar lundmark commented on August 17, 2024

Awesome! Good job! I'll close the issue then 👯

from datalibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.