FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
#include "nomos_gap.h"
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
GArray * | collapseInvisible (char *text, char invisible) |
GArray * | collapseSpaces (char *text) |
pairPosOff * | getPairPosOff (GArray *in, int index) |
int | uncollapsePosition (int collapsedPos, GArray *shifter) |
Compile using gcc nomos_gap.c $(pkg-config glib-2.0 --cflags --libs) -std=c99
Definition in file nomos_gap.c.
GArray* collapseInvisible | ( | char * | text, |
char | invisible | ||
) |
collapse text by elimination of invisible char, returns position+offset pairs
Definition at line 19 of file nomos_gap.c.
GArray* collapseSpaces | ( | char * | text | ) |
Collapse spaces in text, returns position+offset pairs
Definition at line 51 of file nomos_gap.c.