GithubHelp home page GithubHelp logo

sqrat's People

Contributors

fluxy avatar rajkosto avatar vasiliyryabtsev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sqrat's Issues

How to use this library ?

It seems to require EASTL and other things not mentioned anywhere, I have no idea how to configure EASTL (EABase configuration?)

Is there a binding to userData or userPointer

Hi,
I cannot see in the headers a binding to user data or user pointer.
I can return to script an Object, Array Function but It seems there is no support
for SQUserData / SQUserPointer

Problems overriding _get and _set metamethods on native class instances

This is because of the way sqrat automatically overrides these to sqVarGet and sqVarSet on each native class declared with Bind, as a result

  1. If you override _get and/or _set in a BaseClass, the DerivedClass bound by sqrat will not call them (the metamethods will be reset back to sqVarGet and sqVarSet)
  2. Once _get or _set are overriden, any native member vars/properties will no longer be accessible, as they will also get routed through the overriden one. Maybe this is intentional and you are meant to call sqVarGet/sqVarSet inside of your overrides (unlikely since requires accessing internal __getTable of class) ?

Both of these can be worked around (1. by overriding get and set again in every derived class to the base class's methods, 2. by setting up the stack and calling sqVarGet/sqVarSet inside the overrides) but it surely is unintuitive and undesirable behavior, is there a way to fix this ?

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.