Skip to content

Commit

Permalink
att
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusmoutinho committed Oct 7, 2024
1 parent 4188e7b commit 5f365d0
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pseudo random usage

## Install
These lib its designed to be as dumb as possible,for usage just download the
[Amalgamation File](https://github.com/OUIsolutions/maktub/releases/download/v0.003/MakTub.h) int your project and include it directly into your main
[Amalgamation File](https://github.com/OUIsolutions/maktub/releases/download/v0.004/MakTub.h) int your project and include it directly into your main

```c
#include "MakTub.h"
Expand Down
2 changes: 1 addition & 1 deletion build/INTERNAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pseudo random usage

## Install
These lib its designed to be as dumb as possible,for usage just download the
[Amalgamation File](https://github.com/OUIsolutions/maktub/releases/download/v0.003/MakTub.h) int your project and include it directly into your main
[Amalgamation File](https://github.com/OUIsolutions/maktub/releases/download/v0.004/MakTub.h) int your project and include it directly into your main

```c
#include "MakTub.h"
Expand Down
30 changes: 15 additions & 15 deletions output_test
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
==47336== Memcheck, a memory error detector
==47336== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==47336== Using Valgrind-3.23.0 and LibVEX; rerun with -h for copyright info
==47336== Command: ./tests/main_test/T_subscribe_function_passing_args/exec.out
==47336== Parent PID: 47132
==47336==
==47336==
==47336== HEAP SUMMARY:
==47336== in use at exit: 0 bytes in 0 blocks
==47336== total heap usage: 11 allocs, 11 frees, 164,303 bytes allocated
==47336==
==47336== All heap blocks were freed -- no leaks are possible
==47336==
==47336== For lists of detected and suppressed errors, rerun with: -s
==47336== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==52560== Memcheck, a memory error detector
==52560== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==52560== Using Valgrind-3.23.0 and LibVEX; rerun with -h for copyright info
==52560== Command: ./tests/main_test/T_subscribe_function_passing_args/exec.out
==52560== Parent PID: 52315
==52560==
==52560==
==52560== HEAP SUMMARY:
==52560== in use at exit: 0 bytes in 0 blocks
==52560== total heap usage: 11 allocs, 11 frees, 164,303 bytes allocated
==52560==
==52560== All heap blocks were freed -- no leaks are possible
==52560==
==52560== For lists of detected and suppressed errors, rerun with: -s
==52560== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
1 change: 1 addition & 0 deletions release/MakTub.h
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,7 @@ void private_Maktube_set_seed_by_vaarg(MakTub *self,const char *seed_fmt,va_list
va_end(args_copy);
}
void MakTub_set_generation(MakTub *self,int generation){
private_MakTub_generate_num_seed(self);
self->generation =generation;
}

Expand Down
1 change: 1 addition & 0 deletions src/Maktub/fdefine.Maktub_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ void private_Maktube_set_seed_by_vaarg(MakTub *self,const char *seed_fmt,va_list
va_end(args_copy);
}
void MakTub_set_generation(MakTub *self,int generation){
private_MakTub_generate_num_seed(self);
self->generation =generation;
}

Expand Down
1 change: 1 addition & 0 deletions tests/MakTub.h
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,7 @@ void private_Maktube_set_seed_by_vaarg(MakTub *self,const char *seed_fmt,va_list
va_end(args_copy);
}
void MakTub_set_generation(MakTub *self,int generation){
private_MakTub_generate_num_seed(self);
self->generation =generation;
}

Expand Down

0 comments on commit 5f365d0

Please sign in to comment.