Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
felix
/
ftb
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
added defer_free
banana-cakes
Felix Brendel
hace 6 años
padre
98aa1450d8
commit
e5cb9ce81d
Se han
modificado 2 ficheros
con
2 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+0
-1
hashmap.hpp
+2
-0
macros.hpp
+ 0
- 1
hashmap.hpp
Ver fichero
@@ -102,7 +102,6 @@ struct Hash_Map {
}
value_type get_object(key_type key) {
int index = get_index_of_living_cell_if_it_exists(key, hm_hash((key_type)key));
if (index != -1) {
return data[index].object;
+ 2
- 0
macros.hpp
Ver fichero
@@ -54,6 +54,8 @@ static struct {
#define defer auto TOKENPASTE2(__deferred_lambda_call, __COUNTER__) = deferrer << [&]
#define defer_free(var) defer { free(var); }
/*
defer {
Escribir
Vista previa
Cargando…
Cancelar
Guardar