gobj | general definition of objects for OOP with the C language

 by   ricardoalejos C Version: Current License: GPL-3.0

kandi X-RAY | gobj Summary

kandi X-RAY | gobj Summary

gobj is a C library. gobj has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

The purpose of this library is to abstract the essential characteristics of objects used for Object-Oriented Programming:. Let us assume that we can define any class C[i] as a set S[i] of J structures {S[i][1], S[i][2], ... S[i][J]}. These structures may define a set of attributes (variables), interfaces (functions), or both. Also, let us expand our notation such that O[i][j] refers to the j-th object of the class C[i]. To achieve the definition of classes, we have to identify all possible members of the sets S[n]. For this purpose, we have defined a set of macros that create one auxiliary variable V[n][j] for each structure S[n][j], whose address becomes its identifier. Finally, we can describe any object as a table whose records have the form (V[n][j], S[n][j]) - in the code, such table is a NULL-terminated array of records-. Figure 1 - GOBJ object structure in C language. Check out the use examples in the "app" directory. We have added the code and the output of the "farewells" application in Listings 1 and 2 for quick reference. Listing 1 - The "farewells" application body. Listing 2 - The console output of the app/greetings application. The "farewells" application uses static object allocation, which is nice for embedded systems. Check out the "animals" application to see a demonstration of dynamic object creation.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gobj has a low active ecosystem.
              It has 2 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              gobj has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of gobj is current.

            kandi-Quality Quality

              gobj has no bugs reported.

            kandi-Security Security

              gobj has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              gobj is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              gobj releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gobj
            Get all kandi verified functions for this library.

            gobj Key Features

            No Key Features are available at this moment for gobj.

            gobj Examples and Code Snippets

            No Code Snippets are available at this moment for gobj.

            Community Discussions

            No Community Discussions are available at this moment for gobj.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gobj

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ricardoalejos/gobj.git

          • CLI

            gh repo clone ricardoalejos/gobj

          • sshUrl

            git@github.com:ricardoalejos/gobj.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link