From c7de53d7ebd6ef482e3caeaa53d07f520bd38fcc Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Mon, 2 Jun 2008 17:43:30 +0200 Subject: [PATCH] Export low_get_storage. Rev: src/program.c:1.717 Rev: src/program.h:1.251 --- src/program.c | 4 ++-- src/program.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/program.c b/src/program.c index e940b7e983..45c25c6f4a 100644 --- a/src/program.c +++ b/src/program.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: program.c,v 1.716 2008/06/01 11:19:58 grubba Exp $ +|| $Id: program.c,v 1.717 2008/06/02 15:43:29 mast Exp $ */ #include "global.h" @@ -10166,7 +10166,7 @@ static struct get_storage_cache ptrdiff_t offset; } get_storage_cache[GET_STORAGE_CACHE_SIZE]; -ptrdiff_t low_get_storage(struct program *o, struct program *p) +PMOD_EXPORT ptrdiff_t low_get_storage(struct program *o, struct program *p) { INT32 oid, pid; ptrdiff_t offset; diff --git a/src/program.h b/src/program.h index 6a1ddbc58a..585268f482 100644 --- a/src/program.h +++ b/src/program.h @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: program.h,v 1.250 2008/05/31 16:21:30 grubba Exp $ +|| $Id: program.h,v 1.251 2008/06/02 15:43:30 mast Exp $ */ #ifndef PROGRAM_H @@ -959,7 +959,7 @@ void push_compiler_frame(int lexical_scope); void low_pop_local_variables(int level); void pop_local_variables(int level); void pop_compiler_frame(void); -ptrdiff_t low_get_storage(struct program *o, struct program *p); +PMOD_EXPORT ptrdiff_t low_get_storage(struct program *o, struct program *p); PMOD_EXPORT char *get_storage(struct object *o, struct program *p); struct program *low_program_from_function(struct object *o, INT32 i); PMOD_EXPORT struct program *program_from_function(const struct svalue *f); -- GitLab