Browse Source

Add comments.

release/v0.1
Rafal Kupiec 1 year ago
parent
commit
ca51e2a5da
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      engine/api.c
  2. +1
    -0
      include/ph7int.h

+ 3
- 0
engine/api.c View File

@ -126,12 +126,15 @@ static sxi32 EngineConfig(ph7 *pEngine, sxi32 nOp, va_list ap) {
case 'G':
case 'g':
nMemLimit *= 1024;
/* FALLTHRU */
case 'M':
case 'm':
nMemLimit *= 1024;
/* FALLTHRU */
case 'K':
case 'k':
nMemLimit *= 1024;
/* FALLTHRU */
}
}
if(nMemLimit >= 1048576) {

+ 1
- 0
include/ph7int.h View File

@ -33,6 +33,7 @@
#ifndef SMALLEST_INT64
#define SMALLEST_INT64 (((sxi64)-1) - LARGEST_INT64)
#endif
/* Forward declaration of private structures */
typedef struct ph7_class_instance ph7_class_instance;
typedef struct ph7_foreach_info ph7_foreach_info;

Loading…
Cancel
Save