Browse Source

Various minor improvements generated while working on liblob

dirkson 6 months ago
parent
commit
aae1449223
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      .lvimrc
  2. 1
    1
      include/boksi.h

+ 1
- 1
.lvimrc View File

@@ -1,6 +1,6 @@
1 1
 "Stuff you're more likely to edit goes near the top
2 2
 
3
-let s:projstd = '-std=gnu89 -Wall -Wno-comment'
3
+let s:projstd = '-std=gnu89 -Wall'
4 4
 let s:projinc = '-Iinclude -Isrc -Imeson/debug -Isrc/methods -Isrc/example -Isrc/dynload -Isubprojects/dynload/include'
5 5
 let s:projopt = ''
6 6
 

+ 1
- 1
include/boksi.h View File

@@ -45,11 +45,11 @@ typedef enum boksi_return
45 45
 
46 46
 typedef struct boksi_info
47 47
 {
48
-	//boksi_method *method;
49 48
 	//OH NO IS THIS SAFE?!
50 49
 	//Yup. "If the first enumerator has no =, the value of its enumeration constant is 0. Each subsequent enumerator with no = defines its enumeration constant as the value of the constant expression obtained by adding 1 to the value of the previous enumeration constant."
51 50
 	//So this should work in any standards-conforming C, so long as we don't use = in the enum
52 51
 	boksi_method method[BOKSI_METHOD_MAX];
52
+
53 53
 	int method_num;
54 54
 } boksi_info;
55 55
 

Loading…
Cancel
Save