This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am nnorm on github. | |
* I am nnorm (https://keybase.io/nnorm) on keybase. | |
* I have a public key ASDxx_HbQ89W1oecCQe4mKpapv_kXhKUSPcyO9HjBQBLjwo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "pioche.hpp" | |
#include <string.h> | |
#include <iostream> | |
//#define NDEBUG //uncomment before compiling so the assert macros are disabled for release version | |
#include <cassert> | |
void pioche_init(Pioche& pioche, int taille_elt) { | |
pioche.elementSize_ = taille_elt; | |
pioche.capacity_ = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "pioche.hpp" | |
#include <string.h> | |
#include <iostream> | |
//#define NDEBUG //uncomment before compiling so the assert macros are disabled for release version | |
#include <cassert> | |
void pioche_init(Pioche& pioche, int taille_elt) { | |
pioche.elementSize_ = taille_elt; | |
pioche.capacity_ = 1; |