Skip to content

Commit

Permalink
New versioning scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
not-fl3 committed May 21, 2024
1 parent a143a9e commit 5043a94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "quad-snd"
version = "0.2.7"
version = "0.2.8"
authors = ["Fedor Logachev <not.fl3@gmail.com>"]
edition = "2018"
license = "MIT/Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion js/audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,4 @@ function register_plugin(importObject) {
importObject.env.audio_playback_set_volume = audio_playback_set_volume;
}

miniquad_add_plugin({ register_plugin, version: "0.1.0", name: "macroquad_audio" });
miniquad_add_plugin({ register_plugin, version: 1, name: "macroquad_audio" });
6 changes: 1 addition & 5 deletions src/web_snd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ extern "C" {

#[no_mangle]
pub extern "C" fn macroquad_audio_crate_version() -> u32 {
let major = 0;
let minor = 1;
let patch = 0;

(major << 24) + (minor << 16) + patch
1
}

pub struct AudioContext;
Expand Down

0 comments on commit 5043a94

Please sign in to comment.