Skip to content

Version Numbering #18

@sfranzyshen

Description

@sfranzyshen

Version Numbering:

It would be useful to have a version number to verify what version of the engine is active.
perhaps adding #define MQUICKJS_VERSION "#.#.#" to the top of the mquickjs.h file ...

---
#ifndef MQUICKJS_H
#define MQUICKJS_H

#define MQUICKJS_VERSION "0.1.0"

#include <inttypes.h>
---

or perhaps even expand it to include "MAJOR.MINOR.PATCH" separated as defined in https://semver.org/

---
#ifndef MQUICKJS_H
#define MQUICKJS_H

#define MQUICKJS_VERSION_MAJOR "0"
#define MQUICKJS_VERSION_MINOR "1"
#define MQUICKJS_VERSION_PATCH "0"
#define MQUICKJS_VERSION MQUICKJS_VERSION_MAJOR "." MQUICKJS_VERSION_MINOR "." MQUICKJS_VERSION_PATCH

#include <inttypes.h>
---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions