summaryrefslogtreecommitdiff
path: root/Ivy/IvyPPC/Pcre.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/IvyPPC/Pcre.cs')
-rw-r--r--Ivy/IvyPPC/Pcre.cs36
1 files changed, 0 insertions, 36 deletions
diff --git a/Ivy/IvyPPC/Pcre.cs b/Ivy/IvyPPC/Pcre.cs
deleted file mode 100644
index 9286b65..0000000
--- a/Ivy/IvyPPC/Pcre.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System;
-using System.Runtime.InteropServices;
-
-namespace IvyBus
-{
- /// <summary>
- /// Description résumée de Pcre.
- /// </summary>
- public class Pcre
- {
- [DllImport("pcre.dll")]
- public static extern void *pcre_compile( string pattern, int options,
- out string errptr, out int erroffset,
- string tableptr);
- [DllImport("pcre.dll")]
- internal static extern void pcre_free(void *pcre);
-
- [DllImport("pcre.dll")]
- internal static extern int pcre_exec( void *code, string extra,
- string subject, int length, int startoffset,
- int options, out int[] ovector, int ovecsize);
-
- [DllImport("pcre.dll")]
- internal static extern int pcre_get_substring_list(string subject,
- int *ovector, int stringcount, out string[] listptr);
- [DllImport("pcre.dll")]
- internal static extern void pcre_free_substring_list( ref string[] stringptr);
-
- public Pcre()
- {
- //
- // TODO : ajoutez ici la logique du constructeur
- //
- }
- }
-}