Solidifying classes #320
Replies: 2 comments 1 reply
-
I'm not sure what you are asking for. It's the opposite. You soldifify Berry into C to embed in Flash. If you want to easily access C code from Berry, take a look at https://github.com/berry-lang/berry_mapping |
Beta Was this translation helpful? Give feedback.
-
Forgive me for not being clear enough. What I would like is to solidify classes (C++) in Berry. That is to say that from a class, soldify create me the corresponding berry class (with the corresponding attributes) and make me the binding of the methods. It is true that this is not a trivial operation and that from what I have seen, in Berry, it is only possible to do function bidding or in the case of classes, to use functions in which we pass a pointer to the object as an argument. However, this is a laborious operation to do. So, I would like to know if there is any other method? |
Beta Was this translation helpful? Give feedback.
-
I have a question about solidifying C++ classes into Berry classes. I haven't found a way to solidify C++ classes "directly" into Berry. Am I missing something, or is it not possible to do it with solidify? Thanks in advance for your answer.
Beta Was this translation helpful? Give feedback.
All reactions